Legendre transformation
The canonical momentum obtained via the Legendre transformation using the action is formula_68, and the classical Hamiltonian is found to be