Wednesday, April 16, 2014

Oscillator animation

An animated simple harmonic oscillator, integrated using the Verlet algorithm. You can see that the Verlet algorithm conserves energy, but only in an average sense.