how to find value of g by free fall method