Hamiltonian
The Hamiltonian is given by
where are the generalised coordinates, are the canonical momentum, and L is the Lagrangian.
The Hamiltonian is given by
where  are the generalised  coordinates, 
 are the canonical momentum,
and L is the Lagrangian.