In an experiment to determine the acceleration due to gravity g