d
When a train is moving with acceleration, the pendulum is exerted by a pseudo acceleration opposite to the direction of the train. As a result, there will be an increase in effective acceleration on the pendulum. The time period will decrease as the time period is inversely proportional to the square root of effective acceleration.