Simple harmonic oscillator curve