A ball of mass \(m=50 \mathrm{~g}\) is suspended by a weightless spring with stiffness \(x=20.0 \mathrm{~N} / \mathrm{m}\). Due to external vertical harmonic force with frequency \(\omega=25.0 \mathrm{~s}^{-1}\) the ball performs steady-state oscillations with amplitude \(a=1.3 \mathrm{~cm} .\) In this case the displacement of the ball lags in phase behind the external force by \(\varphi=\frac{3}{4} \pi\) Find: (a) the quality factor of the given oscillator; (b) the work performed by the external force during one oscillation period.