In simple harmonic motion the x (displacemnt)= +A to -A. Amp in this way is 1 period. Think about it the particle or whatever travels up and then down the same distance 2X. So it is 2x the A value. So in finding the value of x use x=A cos theata which in turn is equiv. to A cos omega*time