Where the function L is called the Lagrangian and it is defined as: