Hamiltonian equation from Legendre transformation
The Base Academy