Hamiltonian of a charged particle (source code)

= Hamiltonian of a charged particle
{c}

For $L=m\dot r^2/2-e\phi+e\dot r\cdot A$, $p=m\dot r+eA$ and $H=|p-eA|^2/(2m)+e\phi$.