Question
A particle of mass $m$ is attached to a spring (of spring constant $k$) and has a natural angular frequency ${\omega _0}.$ An external force $F(t)$ proportional to $\cos \,\omega t\left( {\omega \ne {\omega _0}} \right)$ is applied to the oscillator. The time displacement of the oscillator will be proportional to