Hi :) This is a problem from David Tong's Classical Dynamics course, found here: http://www.damtp.cam.ac.uk/user/tong/dynamics.html. In particular it is problem 6ii in the first problem sheet.
Firstly we can see the lagrangian is ##L = \frac{1}{2}m(\dot{r}^2+r^2\dot{\theta}^2+\dot{z}^2) -...