Analytical mechanics
The Euler–Lagrange equations
Use a frictionless pendulum to see the Euler–Lagrange equation in action: verify and energy conservation on the phase portrait.
Equipment
- Pendulum animation plus phase-plane plot $(\theta,\dot\theta)$
- Slider “Góc thả θ₀” (release angle)
- Slider “Chiều dài l” (string length)
- Energy and equal-energy contour display on the phase plot
Procedure
Release the pendulum
Set a small release angle θ₀ (under ~10°) and let it run. The phase-plane trace is nearly elliptical — the small-angle regime where gives harmonic motion with .
Verify energy conservation
Watch the orbit follow one equal-energy contour (green-blue line): stays constant since the Lagrangian has no explicit time dependence. Pause and compare the trace with the contour.
Push to large angles
Raise θ₀ toward 90° and beyond: the phase curve deforms away from an ellipse, and the period grows since the true restoring acceleration is , weaker than linear at large θ. Measure the period at two amplitudes and compare.
Change the length
Sweep the length slider l and predict the new period from before timing it — quadrupling l should double T. Confirm on the phase plot that the energy level and orbit shape rescale with l.