 #1
Another
 101
 5
 Homework Statement:

Find the Lagrangian of system.
In the question say the wedge can move without friction on a smooth surface.
Why does the potential energy of the wedge appear in Lagrangian?
 Relevant Equations:
 ##\frac{d}{dt}\frac{\partial L}{\partial \dot{q}}  \frac{\partial L}{\partial q}##
In Solution https://www.slader.com/textbook/9780201657029classicalmechanics3rdedition/67/derivationsandexercises/20/
In the question say the wedge can move without friction on a smooth surface.
Why does the potential energy of the wedge appear in Lagrangian?
(You can see the Larangian of this system at below.)