Two railway carriages of mass $M_1=2m$ and $M_2=m$ are on a 45° inclined plane. A spring, parallel to the plane, keeps both carriages in balance against the gravitational accceleration. The stretching of the spring is based on a linear power law. A coupling keeps a constant distance l between those carraiges. The carriages can be seen as mass points at the center of gravity.
a) How many degrees of freedom does this system have?
b) Determine with the principle of virtual work the equilibrium positions of the carriages.
c)At $t=t_0$ the coupling breaks. How does the equilibrium position of the remaining carriage change?
We started talking about the principle of work this week in my theoretical physics class and this is one of the weekly exercises we are dealing with.
First I used Inkscape trying to draw the situation. It should be something like this:
The angle between the plane the carriages are on and the xy-plane is 45°.
My ideas so far:
a) Since they are talking about railway carriages I supposed the carriages are on rails, meaning they have no degree of freedom along the y-direction, correct? Their only degree of freedom should be along the "plane" $z=x$ if I'm not mistaken.
b) I'm not quite sure how to get the equilibrium positions of the carriages. I don't have anything given besides the distance between the carriages basically, well and the fact that the spring stretching is based on a linear power law. Not sure how to approach this. Also I don't fully understand the concept of virtual work yet. I will have to look into it some more.
c) Well, can't do this one without b) I guess.
Edit: My questions: How do I approach b) and c)? I assume that my idea in a) is somewhat okay, because I can't imagine the carriages having other degrees of freedoms than along the plane.