Hamiltonian mechanics
A closely related formulation of classical mechanics is Hamiltonian mechanics. The Hamiltonian is defined by