Homework Statement
A pendulum on Earth consists of a mass m suspended on a massless spring with equilibrium length d and spring constant k. The pendulum point of support is moving up with constant acceleration a.
What is the Hamiltonian of the system? Derive the Hamiltonian equations...