Find the period of oscillation of a pendulum of length l if its point of suspension is
(a) moving vertically up with acceleration a.
(b) moving vertically down with acceleration a.
(c) falling freely under gravity
(d) moving horizontally with acceleration a.