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\).
Two pendulums are coupled by a spring whose natural length equals the pivot separation. The spring exerts a horizontal restoring force proportional to the difference in bob displacements \(\Delta x = L_2\sin\theta_2 - L_1\sin\theta_1\).
Equations of Motion
Normal Modes (Identical Pendula)
For \(L_1=L_2=L\), \(m_1=m_2=m\), the two normal mode frequencies are:
Beats & Energy Transfer
Displacing only one pendulum excites both modes simultaneously. Energy transfers between pendulums periodically at the beat frequency \(\omega_{\text{beat}} = (\omega_- - \omega_+)/2\). Weaker coupling \(\Rightarrow\) slower beats.
Observable Phenomena
- Beats: periodic exchange of energy when one pendulum is displaced.
- Synchronization: damping drives the system toward the lower-energy in-phase mode.
- Symmetry breaking: unequal lengths or masses prevent complete energy transfer.
- Large amplitude: nonlinear \(\sin\theta\) terms produce richer dynamics.
Lagrangian Formulation
Numerical Method
The 4D system is integrated with the classical 4th-order Runge-Kutta (RK4) method at fixed step \(\Delta t = 0.005\,\text{s}\), providing excellent accuracy for nonlinear oscillatory dynamics.