B Differentiating some simple harmonic equation

1. Mar 30, 2016

Trance-

So I was just trying to differentiate (for no good reason) the equation :
x=x0sin(wt)
(w= angular frequency, x0= maximum displacement, t=time)

to obtain the expression :
a= -w2x

I differentiated twice with respect to time the initial expression for x and got:
a= -w2x0sin(wt)

I must have done something wrong while differentiating.... so help me out, folks.

2. Mar 30, 2016

axmls

I'll write it in a more suggestive manner:
$$a = -\omega^2 (x_0 \sin(\omega t))$$
Notice anything?

3. Mar 30, 2016

Trance-

Oh crap!
My sleep deprivation must be taking its toll dammit. Thanks a lot man!
I make the dumbest mistakes.