Energy in simple harmonic motion

An oscillator's total energy, one half k A squared, passes back and forth between potential energy at the ends and kinetic energy at the center, which gives the top speed.

From AP Physics 1.