Answer:
Compare this to the standard equation for S.H.M:
x = A sin w t where w is the angular frequency.
So w = pi and since w = 2 pi f where f is the frequency
f = 1/2 and since T = 1/f then T = 2 sec for 1 complete cycle
Since it takes 1/4 cycle to move from minimum to maximum displacement
the required time is T/4 or t = 2 sec