Simple Pendulum

Change the length, release angle and damping to compare pendulum periods and see how angle, angular velocity and mechanical energy evolve.

Pendulum diagram

就绪
Angle
30.00°
Angular velocity
0.00 rad/s
Simulation time
0.00 s

Settings and presets

用 30° 释放的结果作对照,再改变一个参数。

1.0 m
30°
9.81 m/s²
1.0 kg
0.00 s⁻¹
50
Undamped period at release angle
2.041 s
Small-angle limit T₀
2.006 s

比小角极限长 1.74%。

Angle θ °

Angular velocity ω rad/s

Mechanical energy J

Kinetic
0.000 J
Potential
1.314 J
Total
1.314 J

Model and equations

Equation of motion

θ̈ + bω + (g/L) sin θ = 0

The angle θ is measured from the downward vertical and ω = dθ/dt. The bob starts at rest. A fourth-order Runge–Kutta method advances the equations of motion.

Amplitude and period

T₀ = 2π√(L/g)

T = 4√(L/g) K(sin(|θ₀|/2))

For small angles, replacing sin θ with θ gives T₀. At finite amplitude, the undamped period uses the complete elliptic integral of the first kind K.

Mechanical energy and damping

E = ½mL²ω² + mgL(1 − cos θ)

dE/dt = −bmL²ω²

Potential energy is zero at the bottom of the swing. Total mechanical energy is conserved when b is zero. With damping, mechanical energy falls as the bob moves.