ian2012
- 77
- 0
Hi, Hope someone can help me clear up this question. I know the answer but I am unsure of the reasoning behind it, so here it is:
Question:A simple pendulum of mass m and length l hangs from a trolley of mass M running on smooth horizontal rails. The pendulum swings in a plane parallel to the rails.
(a)Using the position x of the trolley and the angle of inclination θ of the pendulum as generalised coordinates, show that the Lagrangian may be written as
L=\frac{1}{2}(M+m)\dot{x}^{2}+ml\dot{x}\dot{\theta}cos\theta+\frac{1}{2}ml^{2}\dot{\theta}^{2}+mglcos\theta
Answer:Use X=lsin\theta and Y=lcos\theta as the Cartesian coordinates of the pendulum relative to the trolley.
L=\frac{1}{2}M\dot{x}^{2}+\frac{1}{2}m[(\dot{X}+\dot{x})^{2}+\dot{Y}^{2}]+mgY
And the answer falls out when you follow this through...
I don't understand why the first term is 1/2M\dot{x}^{2}
and not 1/2M(\dot{X}+\dot{x})^{2}. And I also don't understand why the last potential energy term is only mgY and not mg(l-Y)?
Would appreciate if someone could help me out on this, or if there is an easier way to go about the answer! Many thanks!
Question:A simple pendulum of mass m and length l hangs from a trolley of mass M running on smooth horizontal rails. The pendulum swings in a plane parallel to the rails.
(a)Using the position x of the trolley and the angle of inclination θ of the pendulum as generalised coordinates, show that the Lagrangian may be written as
L=\frac{1}{2}(M+m)\dot{x}^{2}+ml\dot{x}\dot{\theta}cos\theta+\frac{1}{2}ml^{2}\dot{\theta}^{2}+mglcos\theta
Answer:Use X=lsin\theta and Y=lcos\theta as the Cartesian coordinates of the pendulum relative to the trolley.
L=\frac{1}{2}M\dot{x}^{2}+\frac{1}{2}m[(\dot{X}+\dot{x})^{2}+\dot{Y}^{2}]+mgY
And the answer falls out when you follow this through...
I don't understand why the first term is 1/2M\dot{x}^{2}
and not 1/2M(\dot{X}+\dot{x})^{2}. And I also don't understand why the last potential energy term is only mgY and not mg(l-Y)?
Would appreciate if someone could help me out on this, or if there is an easier way to go about the answer! Many thanks!
Last edited: