Consider the pendulum described in Problem 7-15. The pendulum's point of support rises vertically with constant acceleration a.
(a) Use the Lagrangian method to find the equations of motion.
(b) Determine the Hamiltonian and Hamilton's equations of motion.
(c) What is the period of small oscillations?