A massless spring of length b and spring constantk connects two particles of masses m1 andm2. The system rests on a smooth table and may oscillateand rotate.
a) Determine the Lagrange's equations of motion.
b) What are the generalized momenta associated with any cycliccoordinates.
c) Determine Hamilton's equation of motion.