Chapter 4. Lagrangian Dynamics