The displacement of a particle performing S.H.M. is given by \(Y=A \cos [\pi(t+\phi)]\). If at \(\mathrm{t}=0\), the displacement is \(\mathrm{y}=2 \mathrm{~cm}\) and velocity is \(2 \pi \mathrm{~cm} / \mathrm{s}\), the value of amplitude \(A\) in cm is