Determine the value of acceleration due to gravity (g) using compound pendulum.