Parker Moreland did an excellent analysis on measuring g with a photogate and suggests a procedure for minimizing error. This article also includes a formula......
Motion Detectors do not provide the best measurement of the acceleration due to gravity. If that is your goal, we recommend using a Photogate and......