Hamiltonian system, Scattering theory