Text this: Elements of Hamiltonian mechanics.