A pendulum trades gravitational potential energy for kinetic energy as it swings.
θ̈ = −(g/L) sin θ − 2β θ̇
Motion. The angle θ is measured from the downward vertical. The equation includes the full sine term, so large release angles are not forced into the small-angle approximation.
E = ½m(Lθ̇)² + mgL(1 − cos θ)
Energy. Mechanical energy is kinetic plus gravitational potential energy, measured relative to the lowest point. Linear damping removes energy at rate 2βmL²θ̇².
T₀ = 2π√(L/g) · T = 4√(L/g) K(k)
Period references. T₀ is the textbook small-angle period. The nonlinear undamped period uses the complete elliptic integral K with k = sin(θ₀/2), evaluated through the arithmetic–geometric mean. A separate fixed-step RK4 calculation checks that result.
Numerics. The live motion uses fourth-order Runge–Kutta at a fixed step of 1/240 s. The energy ledger integrates dissipated power alongside the motion. The independent period check uses a separate, finer fixed step.
Simplifications. The rod is rigid and massless; the bob is a point mass; the pivot is frictionless apart from the specified linear damping; the gravitational field is uniform; and air drag is represented by a linear angular-velocity term. The drawing is a scaled illustration, not a construction plan.
This is an independent educational simulation and is not affiliated with or endorsed by any museum, university, or physics institution.