where in the last line, the p z /2 m term is a constant and can be ignored without loss of continuity. The Hamiltonian equations for θ and z automatically vanish and do not need to be solved for. The Lagrangian equation in r