(b) $x = A\cos(\omega t + \theta);$
Velocity, $v = \frac{dx}{dt} = - A\omega\sin{(\omega t + \theta)}$
$= - A\omega\sqrt{1 - \cos^{2}{(\omega t + \theta)}}$
$= - A\omega\sqrt{1 - \frac{x^{2}}{A^{2}}} = - \omega\sqrt{A^{2} - x^{2}}$
Here, $v = \pi\ cms^{- 1},\ x = 1\ cm,\ \omega = \pi s^{- 1}$
So $\pi = - \pi\sqrt{A^{2} - 1^{2}}$
or $( - 1)^{2} = A^{2} - 1\ \ or\ \ \ A^{2} = 2$
or $A = \sqrt{2}\ cm$