INTERACTIVE PHYSICS EXHIBIT MOTION & ENERGY

The Pendulum Energy Laboratory

Release a pendulum, follow its changing energy, and test where the familiar textbook model holds — and where it bends.

FIXED-STEP MODEL/CANVAS SIMULATION

THE APPARATUS

Live pendulum

LIVE MODEL
SCALED VIEW
DRAG TO PAN
Drag right to move the apparatus right. The drawing is visually scaled. MODEL TIME 0.00 s
SIMULATION CONTROL

CHANGE THE CONDITIONS

Set up the experiment

MODEL INPUTS · USE SLIDERS OR PRESETS
PRESETS
1.00 m
0.55 m2.00 m

Pivot to bob centre

1.00 kg
0.30 kg2.50 kg

Mass concentrated at the bob

5.0°
2°75°

Measured from the downward vertical

9.81 m/s²
1.00 m/s²15.00 m/s²

Uniform field strength

0.02 kg·m²/s
0.001.00

Opposes angular motion

i Every slider value is an illustrative model input. The bob and apparatus are drawn to a scaled, not engineering, dimension.

NUMERICAL AUDIT

Three independent checks

The model is compared with textbook theory, an independent numerical reference, and an energy ledger.

LIVE VALIDATION
01PASS

Small-angle textbook period

The textbook formula is compared with the nonlinear period integral at the selected release angle.

Textbook2.01 s
Nonlinear theory2.01 s
Difference0.0%

Reference: small-angle approximation · illustrative tolerance 1.0%

02PASS

Nonlinear period cross-check

A separate fine-step RK4 run is compared with the elliptic-integral period calculation.

Integral2.01 s
Fine-step RK42.01 s
Difference0.0%

Reference: independent numerical integration · illustrative tolerance 0.2%

03PASS

Energy ledger

Mechanical energy plus accumulated viscous loss is compared with the initial energy.

Initial energy0.04 J
Ledger now0.04 J
Difference0.0%

Reference: energy balance · illustrative tolerance 0.5%

i A review result on the first check is expected for a large swing: the small-angle formula is an approximation, not a universal law.

BACKGROUND & ASSUMPTIONSThe scienceOPEN +

EQUATION OF MOTION

θ̈ + bmL² θ̇ + gL sin θ = 0

The bob is treated as a point mass on a rigid, massless rod. Gravity supplies the restoring torque; viscous damping supplies a torque proportional to angular speed and opposite in direction.

E = 12 mL²θ̇² + mgL(1 − cos θ)

With no damping, mechanical energy is conserved. With damping coefficient b, energy leaves the mechanical system at rate bθ̇².

PERIOD MODELS

T₀ = 2π √Lg

This textbook expression assumes a small release angle, so sin θ is approximated by θ. The nonlinear reference uses the complete elliptic integral: T = 4√(L/g) K(sin(θ₀/2)).

The live motion uses fourth-order Runge–Kutta integration at a fixed time step of 1/240 s. A separate finer-step run provides an independent period check.

Simplifications: planar swing, constant gravity, point bob, rigid massless rod, ideal pivot, and linear rotational damping. Flex, bearing friction, air-flow detail and rod mass are omitted.

An independent educational simulation; not affiliated with a museum, manufacturer or academic institution.

Made with 🤖 ChatGPT