A particle of mass m is attached to a spring (of spring constant k) and has a natural angular frequency -An external force F (t) proportional to is applied to the oscillator. The time displacement of the oscillator will be proportional to
For forced oscillation,
and
where,