1. A swing from horizontal
How to use
Select 90° swing. Compare the two period readouts and press Play to follow a full swing.
Outcome
The undamped period is 2.368 s, about 18.03% longer than the small-angle limit.
Elysia Tools
Navigation
Change the length, release angle and damping to compare pendulum periods and see how angle, angular velocity and mechanical energy evolve.
Open static visualizationTool usage guide
Release the bob from rest and follow its angle, angular velocity and energy on the same time scale. A swing that starts near horizontal takes longer than a small swing of the same pendulum.
A point mass hangs a fixed distance L from a pivot and swings in a vertical plane under constant gravity. The equation is θ̈ + bω + (g/L) sin θ = 0, with θ measured from the downward vertical and ω = dθ/dt. A fixed step of the fourth-order Runge–Kutta method advances the motion.
For small angles in radians, sin θ is close to θ. With zero damping, this gives the limit T₀ = 2π√(L/g). A longer pendulum swings more slowly at the same release angle, and stronger gravity shortens the period.
The exact undamped period of a swing released from rest is T = 4√(L/g) K(sin(|θ₀|/2)), where K is the complete elliptic integral of the first kind. The simulator evaluates it with the arithmetic–geometric mean.
The percentage beside the two periods compares T to T₀. It uses T₀ as the denominator, so you can check how large the small-angle approximation error is for your release.
At an undamped turning point, the bob is briefly at rest and the energy is all gravitational potential. At the bottom, its speed is greatest and the energy is all kinetic. The dashed total-energy curve stays level.
The linear damping torque is −bmL²ω. It removes mechanical energy at the rate bmL²ω², so the dashed curve falls during motion. The coefficient b is in s⁻¹.
Released at equilibrium
At θ₀ = 0° the bob stays at the bottom. The period readout is a dash, and T₀ still gives the limit for small oscillations.
Damping is enabled
Each cycle loses energy, so successive swings have different amplitudes. Both period readouts are calculated for zero damping as references.
How to use
Select 90° swing. Compare the two period readouts and press Play to follow a full swing.
Outcome
The undamped period is 2.368 s, about 18.03% longer than the small-angle limit.
How to use
Select Linear damping and run the model until the simulation clock is near 4 s.
Outcome
Mechanical energy starts at 1.314 J and reaches about 0.392 J at t = 4 s.
With the same length, gravity, release angle and damping coefficient b, the motion is identical. Mass scales kinetic and potential energy in direct proportion.
It is calculated from the release angle, length and gravity. The graphs show the time evolution of the integrated motion.
At a Glance

Verified Results
Every parameter set and result below is a fixed output of this page's built-in model (each asserted before delivery) and reproduces directly: set the Parameters column in the interactive panel.
| Scenario | Parameters | Result |
|---|---|---|
| 30° release | L = 1.0 m, g = 9.81 m/s², θ₀ = 30°, b = 0 s⁻¹, m = 1.0 kg | T = 2.041 s and T₀ = 2.006 s. |
| 90° swing | L = 1.0 m, g = 9.81 m/s², θ₀ = 90°, b = 0 s⁻¹, m = 1.0 kg | T = 2.368 s, an increase of 18.03% over T₀. |
| Double the length | L = 1.0 m → 2.0 m, g = 9.81 m/s², θ₀ = 30°, b = 0 s⁻¹, m = 1.0 kg | T rises from 2.041 s to 2.886 s. |
| Linear damping | L = 1.0 m, g = 9.81 m/s², θ₀ = 30°, b = 0.30 s⁻¹, m = 1.0 kg | E drops from 1.314 J at release to 0.392 J at t = 4 s. |
| Double the mass | L = 1.0 m, g = 9.81 m/s², θ₀ = 30°, b = 0 s⁻¹, m = 1.0 kg → 2.0 kg | E at release rises from 1.314 J to 2.629 J. T remains 2.041 s. |
| Equilibrium | L = 1.0 m, g = 9.81 m/s², θ₀ = 0°, b = 0 s⁻¹, m = 1.0 kg | θ = 0°, ω = 0 rad/s and E = 0 J. The bob stays at equilibrium. |
Sources
Papers and datasets underlying this visualization - every formula, algorithm, and data anchor on the page traces back to the sources below.
Moebs W., Ling S. J., Sanny J. (2016). 15.4 Pendulums. University Physics Volume 1, OpenStax.
Beléndez A., Pascual C., Méndez D. I., Beléndez T., Neipp C. (2007). Exact solution for the nonlinear pendulum. Revista Brasileira de Ensino de Física 29(4), 645–648.
Reinhardt W. P., Walker P. L. (2026). Classical Dynamics: The Pendulum. NIST Digital Library of Mathematical Functions, §22.19(i), release 1.2.8.
Carlson B. C. (2026). Quadratic Transformations. NIST Digital Library of Mathematical Functions, §19.8, release 1.2.8.
Moebs W., Ling S. J., Sanny J. (2016). 15.5 Damped Oscillations. University Physics Volume 1, OpenStax.
Temme N. M. (2026). Ordinary Differential Equations. NIST Digital Library of Mathematical Functions, §3.7(v), release 1.2.8.
Related
Math & Numbers
Compute period, length, or gravity of a simple pendulum, plus amplitude-based peak speed and energy
Math & Numbers
Two-phase simplex for 2–6 variables and 1–8 ≤/≥/= constraints: Bland's rule, per-iteration pivot log, optimal/unbounded/infeasible status, and substitution checks.
Education
Kinematics visualisation tutor: velocity-time curve (constant-acceleration SUVAT solver with displacement-area shading), projectile parabola (adjustable g + air-resistance toggle), and free-fall timing
Science & Education
Solve 1D constant-acceleration kinematics problems and 2D projectile motion, with a full step-by-step derivation. Enter any 3 of the 5 quantities (displacement, initial velocity, final velocity, acceleration, time) and the solver finds the other two, showing each formula, the substitution, and the result. For projectiles, enter launch speed/angle/height to get range, time of flight, and max height.
Compare mechanics, fluid, wave, sound, pressure, and significant-figure tools in one focused educational physics workflow.
Solve engineering math problems across ODEs, Laplace or Z transforms, convolution, and numerical approximation while checking method fit, units, and initial conditions.
Shape a short video in a controlled order: choose the time range, fix the frame direction, add only the needed pace or visual effect, and verify the result.
Convert length, weight, temperature, speed, pressure, energy, force, density, area, volume, angle, and time units from one focused workflow.
Next
Explore ideal zero-order kinetics, depletion and half-life, with comparison curves matched at the initial disappearance rate.
Change the rate constant and initial concentration to compare exponential decay, the semilog line and a sampled population.
Change the rate constant and initial concentration to explore the concentration curve, reciprocal plot and first half-life of a second-order reaction.
Vary temperature, activation energy and the prefactor, then compare k versus T with ln(k) versus 1/T.
Change the two rate constants and the starting mixture to explore net reaction direction, equilibrium composition and relaxation time.
Adjust the two rate constants in A → B → C to explore the height and timing of the intermediate peak and the buildup of product.
Interactive visualization of free radical chain reaction polymerization - Explore initiation, propagation, termination steps, chain growth animation, and molecular weight distribution
Interactive visualization of Le Chatelier's Principle - Explore how changes in concentration, pressure, and temperature affect chemical equilibrium with animated molecular dynamics