Euler–Lagrange equation
This results in the force equation (equivalent to the Euler–Lagrange equation)