Plot pendulum data as T² against L and fit a line to measure g.
Five measurements of a pendulum's period at lengths from 0.2 to 1.0 metres, plotted with error bars. Plotted as period against length the points follow a curve; switch to period squared against length and they fall on a straight line through the origin. Tilt your own line with the slope slider until it passes through all the error bars, or snap it to the best fit. The slope equals 4π² divided by g, so a reading shows the value of g your line gives.
Straighten the curve, read off g
InteractivePlot
The math, with your numbers
Squaring the period turned a curve into a line. Its slope, not any single point, carries the physics.
Try this
Want to know why it behaves like this?
The lesson “Best-Fit Lines & Straightening Curves” explains it step by step: How do you find a law of nature hidden in messy data?