Physics:Simple harmonic oscillator