I had used the same constraint as the solution manual says.
So my two Lagrangian would be
##L_1=\frac{1}{2}m_A\dot{x_A}^2+\frac{1}{2}m_B\dot{x_B}^2+\frac{1}{2}m_C\dot{x_C}^2+m_Cgx_C+T(x_A+x_B+2x_C-c)##
whereas c is just a constant.
Of course, I have to write my Lagrangian using constraints...
For a nonconservative force,
What would be the dissipative function for a force f=-bvⁿ in Lagrangian
(Where v is the velocity)
[#qoute for a nonconservative force f=-bv
The dissipative function is D=-(1/2)bv² ]
Since ##f=\frac{\partial D}{\partial \dot x}## so the dissipative function should...
Than I don't think I understood pasmith. I would have watched those videos but lost my sound system hence can't do anything. Will you please explain the Lagrange Multipliers?
Applying Euler-Lagrange of ##L_1##in terms of ##x_1##, assuming ##x_2## has nothing to do with ##x_1## (If I use constraint on first Lagrangian then first and second Lagrangian becomes same).
##m_1 \ddot{x_1}=m_1 g-T##
Applying Euler-Lagrange of ##L_2##.
##(m_1+m_2)\ddot{x_1}=m_1 g-m_2 g##...
Lagrangian principle is easier to solve any kind of problem. But we always "forget" (not really. But we don't take it into account directly.) of Tension in a system when looking at Lagrangian. But some questions say to find Tension. Since we can get the equation of motion from Newton's 2nd law...
Sorry, are you saying that the constraint isn't working for you? But I have got the correct answer using the constraint.. Our x is the "solution manual's" x_1.
And after this I have solved some others problems on my own, thanks for the guide. (I was misreading solution manual from the beginning)
Since I have written down the first one so I am going to write second one.
##L=\frac{1}{2}M_1\dot{x}^2+\frac{1}{2} M_2(\dot{x}-\frac{\dot x}{2})^2+M_1gx-M_2g\frac{x}{2}##
I have written first line on #14.
Second term on the above equation becomes 1/8 and last term becomes 1/2.
From...
##L=1/2 M1\dot x^2+1/2M2(\dot x+\dot y)^2+M1 gx-M2g\frac{x}{2}##
To shorten the Lagrangian I ignored other constant terms for second body (since they will vanish for derivative with respect to x)