Using dsolve for numerical integration of differential ...

The free-body diagram for the mass has forces in both the x and y directions due to 2 forces, the tension in the spring and the gravitational pull downward. The resulting acceleration of the mass is: Where Fs = -k(L - Le), and k is the spring constant, m is the mass, L is the length of the spring, and Le is the unstretched length of the spring. ................
................