- 185

- 2

**1. Homework Statement**

As stated in the title, I'm having trouble integrating ma+kx=0 to get x(t)

**2. Homework Equations**

**3. The Attempt at a Solution**

So I know I have to integrate twice but I'm not getting the answer required.

∫a = -k/m∫x

v = (-k/m)[(x²/2) + C]

∫v = (-k/2m)∫x² + (-kC/m)

x = (-k/2m)x³/3 + (-kC/m)

This is clearly wrong because I have no time variables. Any help would be much appreciated.