The total mechanical energy E=K+U of a simple harmonic oscillator can be found by observing that when x=±A, we have v=0, and therefore the kinetic energy K=0 and the total energy i...The total mechanical energy E=K+U of a simple harmonic oscillator can be found by observing that when x=±A, we have v=0, and therefore the kinetic energy K=0 and the total energy is all potential. At the endpoints of its motion (x=±A), the oscillator is momentarily at rest, and the energy is entirely potential; when passing through the equilibrium position (x=0), the energy is entirely kinetic.