Have to boxes on a frictionless surface, connected with a massless spring with unstrecht length L and spring constant k. The boxes have mass m1 and m2 and ca be regarded as point masses.
The two variables x1 and x2 is the position of the boxes at the location where the spring are attached.
I try to set up the differential equation for this problem, but cannot manage to to that.
I think that when the force is put on, box 2 will accelerate faster than box 1 in the start, until the spring have streched enough to balacne the force F?
F_spring = kdx
The Attempt at a Solution
x1'' = k(x2-x1-L)
x2'' = -k(x2-x1-L) +F