Measurement

Simple Pendulum & Harmonic Motion Simulator

Simulate simple pendulum oscillation and mass-spring harmonic motion with real-time physics canvas animation, large-angle period corrections, and kinetic vs potential energy phase space.

Free to use No sign-up Runs in your browser

Tool workspace

Real-Time Harmonic Motion Canvas

Periodic oscillation and equilibrium position.

Pendulum Parameters

1 m
30°

Period Calculation

Oscillation Period (T, s)
2.041 s
T0 = 2.006 s
Frequency (f, Hz)
0.490 Hz
Max Velocity at Equilibrium (v_max)1.62 m/s
Total Energy (E)1.31 J

What is the Simple Pendulum & Harmonic Motion Simulator?

The Simple Pendulum & Harmonic Motion Simulator is a mechanical physics simulator exploring periodic oscillations. For a simple pendulum of length L in a uniform gravity field g, the small-angle period formula is T = 2π√(L/g). For larger release angles, nonlinear restoring forces cause the period to lengthen according to the Borda-Bernoulli series expansion. Coupled with mass-spring systems (T = 2π√(m/k)), this tool demonstrates fundamental simple harmonic motion (SHM) and the continuous interchange of kinetic and potential energy.

How to Use the Simulator

  1. 1Select your oscillator system: Simple Pendulum or Spring Mass Oscillator.
  2. 2Adjust the physical parameters such as string length (L), launch angle (θ), or spring stiffness (k).
  3. 3Watch the pendulum bob or spring weight oscillate smoothly in real-time on the physics canvas.
  4. 4Inspect the live energy exchange gauges to verify that maximum velocity occurs at the central equilibrium point while velocity vanishes at the turning points.

Horological & Physics Applications

Grandfather Clock and Escapement Timing

Calculate exact pendulum lengths required to create a 'seconds pendulum' (half-period = 1.0 s, full period = 2.0 s, L ≈ 0.994 m on Earth).

Automotive Suspension and Seismographs

Analyze natural frequencies (f = 1/2π √(k/m)) for spring suspension systems to avoid dangerous resonant vibrations.

Gravitational Field Metering (Gravimetry)

Determine local planetary surface gravities by timing high-precision pendulum oscillation cycles.

Frequently asked questions

Why does pendulum period not depend on the mass of the bob?

In a simple pendulum, the restoring force is proportional to the gravitational mass (F = -m g sin θ), while resistance to acceleration is proportional to inertial mass (F = m a). Because gravitational mass and inertial mass are equivalent (Galileo's principle of equivalence), mass cancels out completely from the equation of motion.

When does the small-angle approximation (sin θ ≈ θ) break down?

The small-angle approximation T = 2π√(L/g) is accurate within 1% for release angles below 15°. Above 30°, the period lengthens noticeably (about 1.7% at 30°, and 7.3% at 60°), requiring high-order Legendre or Borda expansion corrections.

Where is the potential energy zero in a pendulum?

Potential energy is conventionally referenced to zero at the lowest point of the swing (the vertical equilibrium position, h = 0). At this point, potential energy is zero and kinetic energy is at its absolute maximum.