Where \(\mathcal{L}\) is the Lagrangian of the system, \(\mathcal{T}\) is the total kinetic energy of the system, and \(\mathcal{V}\) the total potential energy of the system. Instead of writing \(F=ma\) to get the equations of motion, we use the Euler-Lagrange equation: