When the trolley shown in figure is given a horizontal acceleration a, the pendulum bob of mass m gets deflected to a maximum angle θ with the vertical. At the position of maximum deflection, the net acceleration of the bob with respect to trolley is