### Lagrangian and Hamiltonian's Mechanics

Consider a bead of mass m sliding without friction on a wire that is bent in the shape of a parabola and is being spun with constant angular velocity w about its vertical axis, as shown in figure 7.17. Use cylindrical polar coordinates and let the equation of the parabola be z=kp^2. Write down the Lagrangian in terms of p as the