Consider the forced but undamped system described by the initial value problem
$$
u^{\prime \prime}+u=3 \cos \omega t, \quad u(0)=0, \quad u^{\prime}(0)=0
$$
(a) Find the solution \(u(t)\) for \(\omega \neq 1\).
(b) Plot the solution \(u(t)\) versus \(t\) for \(\omega=0.7, \omega=0.8,\) and
\(\omega=0.9\). Describe how the response \(u(t)\) changes as \(\omega\) varies in
this interval. What happens as \(\omega\) takes on values closer and closer to
\(1 ?\) Note that the natural frequency of the unforced system is \(\omega_{0}=1\)