simple harmonic oscillator and mechanical energy 255319