Coupled Pendula with Spring

Simulate two spring-coupled pendulums - observe normal modes, beats, synchronization, and energy transfer governed by \(\ddot{\theta}_i = -\tfrac{g}{L_i}\sin\theta_i - \tfrac{b}{m_i L_i}\dot{\theta}_i \pm \tfrac{k_c}{m_i L_i}\cos\theta_i\,\Delta x\).

\[ \ddot{\theta}_i = -\frac{g}{L_i}\sin\theta_i - \frac{b}{m_i L_i}\dot{\theta}_i \pm \frac{k_c}{m_i L_i}\cos\theta_i\,(L_2\sin\theta_2 - L_1\sin\theta_1), \quad i=1,2 \]
Parameters & Initial Conditions
Pendulum 1

Pendulum 2

Coupling & Damping

Initial Conditions

0.50×
Animation
\(\theta(t)\) - Angular Displacement
Phase Plot \(\theta_1\) vs \(\theta_2\)

Numerical accuracy - global error vs the exact solution

In the small-angle limit the two coupled pendula reduce to a linear normal-mode system whose exact solution is the matrix exponential eAtX₀. Each integrator is run on that linearised system at the tool's own time step and compared against the exact reference; lower is better, and the ordering follows each method's order of accuracy.

Cite this tool
Kapita, S. (2026). Coupled Pendula with Spring. Math Tools. https://doi.org/10.5281/zenodo.20981189