If the maximum acceleration of the body executing S.H.M. is a0 and maximum velocity is V0. ​The amplitude is given by