Physics · SHM

Simple Pendulum

Drag the bob to any angle and release. Adjust length, gravity, mass and damping. Watch live graphs and verify T = 2π√(L/g) with your own observations.

⚛ Physics 〜 SHM ★ Free
⏱ 0.000 s
Oscillations: 0
Period T
Frequency
Angle θ
Angular Vel ω
Angular Acc α
Total Energy
Energy Distribution
KE
0 mJ
PE
0 mJ
TE
0 mJ
Parameters
String Length (L) 1.00 m
Bob Mass (m) 1.0 kg
Initial Angle (θ₀) 20°
Gravity (g) 9.81 m/s²
Damping (b) 0.00
Advanced Display
Derived Values
T (theoretical)
ω₀ = √(g/L)
Max Velocity
Max Height (h)
Live Graphs
〜 Displacement vs Time
⚡ Velocity vs Time
⚡ Energy vs Time
Observation Table
Recorded Observations
# Length L (m) Mass m (kg) Gravity g (m/s²) Angle θ₀ (°) Damping b T measured (s) T formula (s) Frequency f (Hz)
No observations yet. Press "+ Record" to save current values.
Experiment Notes

Theory — Simple Pendulum

A simple pendulum consists of a point mass (bob) suspended from a fixed pivot by a massless, inextensible string. When displaced from its equilibrium and released, the bob oscillates under gravity in a periodic motion.

For small angles (θ < 15°), the motion approximates simple harmonic motion (SHM), where the restoring force is proportional to the displacement from equilibrium.

d²θ/dt² = −(g/L) θ

This gives sinusoidal oscillation: θ(t) = θ₀ cos(ω₀t), where ω₀ = √(g/L) is the natural angular frequency.

The Period Formula

The time period (T) is the time for one complete oscillation. For small angles it is given by:

T = 2π √(L / g)

Key observations from the formula:

  • T increases with length L (longer = slower)
  • T decreases as gravity g increases (stronger gravity = faster)
  • T does NOT depend on mass of the bob
  • T is independent of amplitude for small angles
  • Doubling L increases T by a factor of √2 ≈ 1.41

Energy in a Pendulum

As the pendulum swings, energy continuously converts between kinetic and potential forms, but total mechanical energy is conserved (when damping = 0).

  • At max displacement: all PE, KE = 0
  • At equilibrium: all KE, PE = 0
  • PE = mgL(1 − cosθ)
  • KE = ½mL²ω²
  • Total E = mgL(1 − cosθ₀)

With damping, energy is lost per cycle and amplitude decreases exponentially over time.

Finding g from Pendulum

The pendulum is a classic way to determine the local acceleration due to gravity. Rearranging the period formula:

g = 4π²L / T²

Practical method: Plot T² vs L. The slope of the straight line equals 4π²/g, allowing precise determination of g from the gradient.

This experiment is used in standard physics labs worldwide to verify g ≈ 9.81 m/s² on Earth's surface.

Sources of Error

  • Air resistance causes damping and amplitude decay
  • Large angles break the small-angle approximation (period increases)
  • String elasticity introduces non-ideal behavior
  • Human timing error when using a stopwatch
  • Bob is not a true point mass (rotational inertia)
  • Friction at the pivot increases effective damping

Use small angles (<15°) and average over many oscillations (20–50) for best accuracy.

Planetary Gravity Comparison

  • Moon: g = 1.62 m/s² — period ~2.46× longer than Earth
  • Mars: g = 3.72 m/s² — period ~1.62× longer than Earth
  • Earth: g = 9.81 m/s² — standard reference
  • Jupiter: g = 24.79 m/s² — period ~0.63× of Earth

Try switching gravity presets in the simulator and observe how the oscillation speed changes in real time!

Frequently Asked Questions

What is the formula for time period of a simple pendulum?+
The time period of a simple pendulum is T = 2π√(L/g), where L is the string length and g is gravitational acceleration. This formula holds for small oscillation angles (less than ~15°). For larger angles, the actual period is slightly longer than this formula predicts.
Does mass affect the time period of a pendulum?+
No! The mass of the bob has no effect on the time period. T = 2π√(L/g) contains no mass term. You can verify this in this simulator — change the bob mass slider and observe that the period displayed remains unchanged. This is one of the most important and counterintuitive results in pendulum physics.
What is simple harmonic motion in a pendulum?+
A pendulum undergoes simple harmonic motion (SHM) when the oscillation amplitude is small (typically <15°). In SHM, the restoring force is proportional to displacement, giving sinusoidal motion θ(t) = θ₀cos(ω₀t). The displacement, velocity and acceleration all vary sinusoidally with time, offset by 90° phase angles from each other.
How can I determine g using a pendulum experiment?+
Measure the time period T for several string lengths L. Calculate T² for each reading. Plot T² on the y-axis and L on the x-axis. The slope of the straight line is 4π²/g, so g = 4π²/slope. Alternatively use g = 4π²L/T² directly. Average multiple trials for greater accuracy.
Why does the pendulum slow down over time in the simulator?+
When the damping slider is set above 0, energy is removed from the system each swing (simulating air resistance and pivot friction). The amplitude decays exponentially over time while the period remains almost the same. Set damping to 0 for ideal undamped oscillation with constant amplitude and perfect energy conservation.
What is the difference between time period and frequency?+
Time period (T) is the time in seconds for one complete oscillation (one full swing back and forth). Frequency (f) is the number of complete oscillations per second, measured in Hertz (Hz). They are reciprocals of each other: f = 1/T. Angular frequency ω = 2πf = 2π/T gives the rate of rotation in radians per second.