Lagrange ' s equations for spring problem

  • Thread starter Thread starter student1938
  • Start date Start date
  • Tags Tags
    Lagrange Spring
AI Thread Summary
The discussion focuses on applying Lagrange's equations to a system of two masses connected by springs on a frictionless table. The kinetic energy is expressed as T = (1/2)mxdot^2 + (1/2)mydot^2, while the potential energy includes terms for the spring constants and rest lengths. Participants clarify the need to include the rest lengths of the springs in the potential energy equation. There is also a discussion about defining coordinates correctly to avoid ambiguity in the system's setup. Overall, the conversation emphasizes the importance of precise definitions and formulations in solving the motion of the system.
student1938
Messages
91
Reaction score
1
Ok, there are two objects of mass m on a frictionless table. The 2 masses are connected to the other by a spring of spring constant k. One mass is connected to a wall with a spring of the same constant k. Solve for the motion using Lagrange' s equations.

I used generalized coordinates x starting from the centre of the mass closer to the wall and y starting from teh center of the mass farthest from the wall. I get T = (1/2)mxdot ^ 2 + (1/2)mydot ^ 2

V = (1/2)kx ^ 2 +(1/2)k(x-y) ^ 2

I know that this contains cross terms but uptill this stage , is it correct?
 
Physics news on Phys.org
That's fine, except you didn't include the rest lenghts of the springs. If we stick with your notation, let's use xo as the rest length of the 1st spring and yo as the rest length of the second spring. Kinetic coenergy is the same:
T^* = \frac 1 2 m\dot{x}^2 + \frac 1 2 m\dot{y}^2
Potential energy looks more like this:
V = \frac 1 2 k\left(x-x_o\right)^2 + \frac 1 2 k\left(y-x-y_o\right)^2

Don't worry about simplfying any algebra at this point; just right L = T*-V and start differentiating away (or, as one of my buddies used to say, Lagrangiate). Have fun.
 
Couldn' t I take x0, y0 to be zero?
 
Yes, provided that you define your coordinates properly. I thought you had defined the distances from the wall. I just re-read your post and I think I'm wrong about that, but I'm still not quite sure.

To avoid any ambiguity:
Let x = the distance of the first mass (the one closer to the wall) measured from the original position of that mass (its position when the system is in equilibrium).
and similarly:
Let y = the distance of the second mass (the one farthest from the wall) measured from the original position of that mass (its position when the system is in equilibrium).

That may have been what you originally meant, but I didn't read it that way. Sorry for any confusion.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Thread 'Trying to understand the logic behind adding vectors with an angle between them'
My initial calculation was to subtract V1 from V2 to show that from the perspective of the second aircraft the first one is -300km/h. So i checked with ChatGPT and it said I cant just subtract them because I have an angle between them. So I dont understand the reasoning of it. Like why should a velocity be dependent on an angle? I was thinking about how it would look like if the planes where parallel to each other, and then how it look like if one is turning away and I dont see it. Since...
Back
Top