Text this: Lagrangian and Hamiltonian methods for nonlinear control 2003 :