Elastic (Spring) Pendulum Simulation

Coupled radial and angular oscillations via Lagrangian mechanics — integrated with 4th-order Runge–Kutta. Observe energy transfer, autoparametric resonance, and quasi-periodic orbits.

\[\ddot r = r\dot\theta^2 + g\cos\theta - \dfrac{k}{m}(r-L_0),\qquad \ddot\theta = -\dfrac{2\dot r\dot\theta}{r} - \dfrac{g}{r}\sin\theta\]
Time \(t\)
0.00 s
Length \(r\)
Angle \(\theta\)
\(\omega_r\)
\(\omega_\theta\)
Status
Ready
Parameters & Initial Conditions
System Parameters

Initial Conditions

Simulation

Example Presets
Spring Pendulum
2D Trajectory — color by speed slow mid fast
Displacement vs Time \(r-L_0\) \(\theta\)