SMS dit: Elements of Hamiltonian mechanics.