A pendulum of length L swings under gravitational acceleration g. The numerical motion comes from the nonlinear differential equation, not from manually scripted animation.
θ̈ = −(g/L) sin θ − cₚ θ̇ − cₐ |θ̇|θ̇
Here cₚ is 0 or 0.11 s⁻¹ and cₐ is 0 or 0.36 rad⁻¹ (with radians dimensionless). Both are teaching-model damping coefficients; they are not measured hardware characteristics.
T ≈ 2π √(L/g) (small angles)
T² = (4π²/g)L → g = 4π²/slope
We fit T² = slope × L + intercept over eight lengths using ordinary least squares. The graph and computed g use the measured (noisy) times and ruler lengths, not the hidden true readings. The intercept remains free.
For a 4° release, the first finite-angle correction is +θ₀²/16 ≈ +0.0305% in period. The notebook deliberately uses the textbook small-angle formula so that this approximation remains visible as a small bias.
σ(g) = g √[(σ(slope)/slope)² + 0.00180²]
Instrument uncertainties include 1 mm ruler resolution, ~0.55 mm ruler reading scatter, 1 ms gate resolution and ~1.4 ms noise per gate crossing; stopwatch resolution is 0.01 s with separate start/stop reaction delays (mean 0.22 s, standard deviation 0.10 s each). The 0.180% term combines 0.15% ruler-scale calibration uncertainty and 0.10% amplitude/model uncertainty. The slope uncertainty takes the larger of sample residual uncertainty and 1.25× propagated instrument repeatability.
Assumptions: point-mass bob, rigid massless string, fixed pivot, no support bending, constant local g, planar motion, no physical gate loading, no collisions. Drag is approximated with a quadratic angular damping term, not an aerodynamic flow solver.
The displayed 9.80665 m/s² is conventional standard gravity, not a claim about gravity at every real-world location. Turn error toggles off to estimate g most faithfully.