A simple pendulum is suspended from the roof of a trolley that moves freely down a plane of inclination theta. The time period of oscillation of the pendulum is