Derive the Hamiltonian equation in terms of momentum and position ( p and r) for the given system whose lagrangian is stated as L=ř^2/(2w) - wr^2/2
L=ř^2/(2w) - wr^2/2 and H=př-L
The Attempt at a Solution
Notice here ř means first derivative of r. As i haven't learned how to write equations i derives a solution whoch looks correct and took a picture. I am hoping you can see if it is correct and point at mistakes. In the work i exchanged r with q.
Here are the links to 2 photos i took[/B]