Chapter 10: Problem 9
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. Using the position \(x\) of the trolley and the angle of inclination \(\theta\) of the pendulum as generalized co-ordinates, write down the Lagrangian function, and Lagrange's equations. Obtain an equation of motion for \(\theta\) alone. If the system is released from rest with the pendulum inclined at \(30^{\circ}\) to the vertical, use energy conservation to find its angular velocity when it reaches the vertical, given that \(M=2 \mathrm{~kg}, m=1 \mathrm{~kg}\), and \(l=2 \mathrm{~m}\)