Starting at its rightmost position, it takes 2 seconds for the pendulum of a grandfather clock to swing a horizontal distance of 18 inches from right to left and 2 seconds for the pendulum to swing back from left to right. Which of the following equations models d, the horizontal distance in inches of the pendulum from the center as a function of time, t, in seconds? Assume that right of center is a positive distance and left of center is a negative distance.
a. d=9 cos(π/4 t)
b. d=9 cos(π/2 t)
c. d=18cos(π/4 t)
d. d=18cos(π/2 t)