Determining the influence of a pivot to center-of-mass distance on the time period of an oscillation in a compound pendulum