A simple pendulum with a period T = 2.50 s is attached to the ceiling of an elevator which is initially at rest.

a. Calculate the period of oscillations when the elevator begins to accelerate upwards with acceleration a = 1.50 m/s^2.
b. Calculate the period of oscillations when the elevator accelerates downwards with acceleration a = 2.50 m/s^2 .