Title: elements of hamiltonian mechanics