A pendulum of mass m and length l is suspended from the ceiling of a trolley which has a constant acceleration a in the maximum deflection theta of the pendulum from the vertical.