A spring AB with constant k is hooked in the end A to the ceiling. At the end B of the undefomed spring is hooked a mass of weight 100N. At $t=0$ the mass is let free with no initial velocity. Not taking into account the mass of the spring, find the movement of the spring, its period and amplitude.
My suggested solution is as follows. By Hooke's law $F=k(x-x_0)$, where $x_0$ is the position of the end B at the beginning.
They say the force acting on the mass at a position $x$ is $100N-k(x-x_0)N$, and suggest the equation $m\ddot{x}=100g\ddot{x}=100N-k(x-x_0)N$, where g is the acceleration due to gravity.
I think this is wrong and suggest the equation $m\ddot{x}=100g\ddot{x}=k(x-x_0)$
Who is correct?
p.s. I am not interested in the solution of the equation.