- #1
bcjochim07
- 374
- 0
Homework Statement
A cart of mass M is attached to a spring with spring constant k. Also, a T-shaped pendulum is pinned to its center. The pendulum is made up of two bars with length L and mass m. Find Lagrange's equations of motion.
I've attached the figure and my solution as a PDF. I let y=0 be the horizontal line through the center of the cart and let x be the displacement of the spring from equilibrium. I'm pretty sure that I can get Lagrange's equations if I have the correct Lagrangian, so that's the part I'd like you to check. Ah, yes, and I just noticed that the sines in my expression for U should be cosines. Other than that, is my Lagrangian alright? Or do I need to include a translational KE of the center of mass of the upper bar of the pendulum attached to the center of the cart?