A simple pendulum of length $L$ is suspended from the roof of a trolley. The trolley moves in horizontal direction with an acceleration $a$. What would be the period of oscillation of a simple pendulum? [$g$ is acceleration due to gravity]
Show Hint
In a non-inertial frame, replace $g$ by the effective gravity to find the time period.
Step 1: Effective gravity in an accelerating frame.
In a frame accelerating horizontally with acceleration $a$, the pendulum experiences an effective gravity:
\[
g_{\text{eff}}=\sqrt{g^2+a^2}
\]
Step 2: Time period of a simple pendulum.
For small oscillations, the time period is:
\[
T = 2\pi \sqrt{\frac{L}{g_{\text{eff}}}}
\]