A student times 20 complete oscillations of a simple pendulum of length $0.50\ \mathrm{m}$ and records a total time of $28.4\ \mathrm{s}$. Take $g = 9.8\ \mathrm{m\,s^{-2}}$. Use these measurements to determine the value of $g$ that the student's data give.
Worked solution
The period is the total time divided by the number of oscillations: $$T = \frac{28.4\ \mathrm{s}}{20} = 1.42\ \mathrm{s}.$$ Rearrange $T = 2\pi\sqrt{L/g}$: square both sides, $T^2 = 4\pi^2 L/g$, then $$g = \frac{4\pi^2 L}{T^2}.$$ Substitute $L = 0.50\ \mathrm{m}$ and $T = 1.42\ \mathrm{s}$: $$g = \frac{4\pi^2(0.50)}{(1.42)^2} = \frac{19.74}{2.016} = 9.79\ \mathrm{m\,s^{-2}} \approx 9.8\ \mathrm{m\,s^{-2}}.$$