where is the kinetic, the potential, and the total energy. Kinetic energy is always non-negative (), and for a spring so too is the potential ().

Thus, if we set we get

while if we set we get

Solving the first eqation for yeilds

and solving the second for yields

Dan Cross 2006-10-18