https://goldshish.it/notes/hamiltonian-mechanics-2019/