A bead of mass m slides without friction along a wire which has the shape of a parabola my= Ax^2 with its axis vertical in the Earth’s gravitational field g.
1) Find the Lagrangian, taking as generalized coordinate the horizontal displacement x.
2) Write down the Lagrange equation of motion.