Potential energy and kinetic energy conservation