Hamiltonian Function

Use Legendre transformation, the Lagrangian Function could create Hamiltonian Function

Notes

The Lagrange function derived Euler-Lagrange equation is 2 times derivative. As Euler-Lagrange equation is:

Using Legrenger transformation

now H is a function of p, q and t,