The Hamiltonian of a particle is $$H = \frac{{{p^2}}}{{2m}} + pq,$$ where q is generalised coordinate and p is the corresponding canonical momentum. The Lagrangian is
The Hamiltonian of a particle is $$H = \frac{{{p^2}}}{{2m}} + pq,$$ where q is generalised coordinate and p is the corresponding canonical momentum. The Lagrangian is Correct Answer $$\frac{m}{2}{\left( {\frac{{dq}}{{dt}} - q} \right)^2}$$