Consider a mass $m$ placed at the topmost point of a wedge of mass $M$. The wedge is free to move on the smooth floor.

What is the acceleration of the wedge and the block when the system is released from rest?

I know how to do this using Newtonian mechanics by setting up the force equations and solving for the acceleration but how can this be done using the Lagrangian?


closed as off-topic by G. Smith, Jon Custer, ZeroTheHero, Buzz, John Rennie Jan 12 at 9:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Homework-like questions should ask about a specific physics concept and show some effort to work through the problem. We want our questions to be useful to the broader community, and to future users. See our meta site for more guidance on how to edit your question to make it better" – G. Smith, Jon Custer, ZeroTheHero, Buzz, John Rennie
If this question can be reworded to fit the rules in the help center, please edit the question.