Free physics lab
Pendulum Simulator
A virtual simple pendulum lab: set the length, release angle, gravity and air resistance, release it, and watch the swing with a live angle-time graph and kinetic and potential energy bars. The simulator measures the period as it swings, so you can compare it with T = 2π√(L/g) and see where the small-angle formula stops working. Free, no signup.
Angle over the last 10 seconds
Dashed lines: ±20°. Without air resistance the swing never shrinks.
Period (small-angle formula)
Period (exact, no friction)
Measured in the simulation
Top speed
Step by step
- 1For small swings the period depends only on the length and gravity, not on the mass or (almost) the amplitude:T_0 = 2π √(frac{L}{g}) = 2π √(frac{1}{9.81}) = 2.006\ \mathrm{s}
- 2The frequency is swings per second, the reciprocal of the period.f = frac{1}{T_0} = 0.498\ \mathrm{Hz}
- 3The small-angle formula assumes sin θ ≈ θ. At 20° the exact period is 0.77% longer, which the simulation (solving the full equation) shows:T = T_0 × frac{2}{π} K(\sin frac{θ_0}{2}) = 2.021\ \mathrm{s}
- 4Energy is conserved without friction: height lost turns into speed, fastest at the bottom.v_{max} = √(2gL(1 - \cos θ_0)) = 1.088\ \mathrm{m/s}
Where T = 2π√(L/g) comes from
Gravity's pull along the swing is , which gives the equation of motion
For small angles (in radians), and the equation becomes simple harmonic motion with angular frequency , so . The simulator keeps the full , which is why big swings take longer than the formula predicts.
Energy in a swing
At the ends of the swing the bob stops for an instant: all its energy is potential. At the bottom it moves fastest: all kinetic. Without friction the total stays the same, which gives the top speed . Add air resistance and watch the total drain away as the swings shrink.
Experiments to try
- Make the pendulum four times longer: the period doubles, because T depends on the square root of L.
- Release from 10° and then 60°: the measured period goes up, while the formula stays the same.
- Take it to the Moon: with about one sixth of the gravity, each swing takes about 2.5 times as long.
- Release from 170°, almost upside down, and see how long it hangs near the top.
Frequently asked questions
What is the formula for the period of a pendulum?+
For small swings, , where L is the length from the pivot to the center of the bob and g is the acceleration due to gravity. A 1 m pendulum on Earth has s.
Does the mass of the bob change the period?+
No. A heavier bob needs more force to accelerate, but gravity pulls on it proportionally harder, so the mass cancels out of the equation of motion. Only the length and g matter (and, slightly, the amplitude).
Does the amplitude change the period?+
Only a little for small swings, which is why pendulums were used to keep time. The formula assumes ; the true period grows with amplitude, about 0.2% longer at 10°, 1.7% at 30° and 18% at 90°. The simulator solves the full equation, so you can measure the difference.
How long is a pendulum that ticks once a second?+
A pendulum that takes 1 s for each swing (a full period of 2 s) is called a seconds pendulum. Rearranging the formula, m, just under a meter.
How can I measure g with a pendulum?+
Time 10 or 20 full swings with a stopwatch and divide to get T (timing many swings shrinks the reaction-time error). Then . Measure L to the center of the bob, and keep the swings under about 15°.
Oscillations and energy confusing?
Simple harmonic motion links forces, energy and graphs. A physics tutor can connect them one-on-one, and your first trial lesson is free.
From formulas to understanding
Work 1-on-1 with a physics tutor who explains why the equations work. Your first trial lesson is free.