Prove that the motion of a mass $m$ on a linear spring with constant $k$, has the form $$y (t) = A \sin(wt+f),$$ where $t$ is the time and $A, w, f$ are constants. We know that for $t = 0, y(0)=y_{0}$ and $y'(0)=v_{0}$. If, in addition, the mass is subject to external force $F (t) = F_{0} \sin (w_{0}t)$, where $F_{0}$ the amplitude and $w_{0}$ the cyclic frequency, then calculate the amplitude of the motion.
When the mass is subject to external force $F (t) = F_{0} \sin (w_{0}t)$,we get this differential equation: $$y''+w^{2}y=\frac{F_{0}}{m} \sin(w_{0}t),$$ which has the solution: $$y(t)=c_{1} \cos(wt)+c_{2} \sin(wt)+\frac{F_{0}}{m(w-w_{0}^{2})} \sin(w_{0}t),$$ where $c_{1}=y_{0} $ and $ c_{2}=\frac{v_{0}}{w}-\frac{F_{0}w_{0}}{mw(w-w_{0}^{2})}$. Right? But how can I find the amplitude of the motion?