Daniel B. answered 11/01/20
A retired computer professional to teach math, physics
Let
A = 0.03102 m be maximum displacement,
m = 0.402 kg be the mass,
k = 36.3 N/m be the spring constant,
w = sqrt(k/m) be the angular frequency,
x(t) be the displacement as a function of time.
I assume that you know that
x(t) = A cos(wt)
If you do not, please let me know and I will
show you how to derive it.
Acceleration is then the second derivative of x.
x'(t) = -A w sin(wt)
x"(t) = -A w2 cos(wt)
Plugging in the numbers:
w = sqrt((36.3 N/m) / (0.402 kg)) = 9.5 s-1
x"(t) = -0.03102 . 90.3 cos(9.5t) = -2.8sin(9.5t) m/s-2