A simple pendulum is set up in a trolley which moves to the right with an acceleration a on a horizontal plane. Then the thread of the pendulum in the mean position makes an angle θ with the vertical