aidoesscience
aidoesscience › Pendulum
Validating · validations

Pendulum simulation

Does a pendulum's period follow the textbook small-angle law — and how does it change as the swing grows?

▶ Run the simulationSee the measured result

Measured by the lab
1.1803406
Known value
1.1803406
Relative error
3.36e-13

Units: dimensionless (T(90°)/T₀ = (2/π)·K(sin 45°); K(1/√2) = Γ(¼)²/(4√π))

How the lab tests it

Release from a set amplitude, time the period between turning points, and compare to both the naive √(L/g) law and the exact elliptic-integral period.

What it checks

T₀ = 2π√(L/g) and the exact T = T₀ / AGM(1, cos θ₀/2)

This simulation has a catalogued, oracle-checked result: The pendulum's anharmonic period recovered by timing the bare equation of motion.