Lagrangian vs Newtonian
What you are seeing: a planar pendulum drawn three ways. Newton: force balance on the bob; tension and gravity are arrows. Lagrangian: a single generalized coordinate and its conjugate velocity; equations come from . Hamiltonian: on a phase plane.
θ_01.50
ω_00.00
view
E:0.0
WHAT TO TRY
- Switch the view between all-three, Newton-only and phase space: the same pendulum is derived from force balance (tension and gravity arrows) and from a single coordinate theta via L = T - V. Both give the identical motion.
- Raise the initial angle theta_0 toward pi: the swing leaves the small-angle regime, the period lengthens, and the phase-space orbit fattens from an ellipse toward the separatrix.
- Watch the energy readout stay constant: the leapfrog integrator conserves it, which is why the phase-space orbit closes on itself instead of spiralling.