Hamiltonian mechanics - formulation of classical mechanics in terms of phase space and Hamiltonian function