equation of motion for a sinusoidal driven harmonic oscillator