.. _sphx_glr_api_gallery_classical_lagrangian: Lagrangian mechanics -------------------- Systems whose equations of motion are derived symbolically from a Lagrangian :math:`L(q, \dot q, t)` via :class:`~physicskit.classical.utils.symbolic.LagrangianEngine` -- a double pendulum, a bead on a rotating hoop, coupled oscillators, and an elastic (spring) pendulum showing 1:2 autoparametric resonance -- including one built entirely from scratch, outside :mod:`physicskit.classical.systems`, showing the raw symbolic-derivation workflow directly. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/classical/lagrangian/images/thumb/sphx_glr_plot_01_double_pendulum_thumb.png :alt: :doc:`/api/gallery/classical/lagrangian/plot_01_double_pendulum` .. raw:: html
The double pendulum and deterministic chaos
.. raw:: html
.. only:: html .. image:: /api/gallery/classical/lagrangian/images/thumb/sphx_glr_plot_02_bead_on_rotating_hoop_thumb.png :alt: :doc:`/api/gallery/classical/lagrangian/plot_02_bead_on_rotating_hoop` .. raw:: html
The bead on a rotating hoop: a pitchfork bifurcation
.. raw:: html
.. only:: html .. image:: /api/gallery/classical/lagrangian/images/thumb/sphx_glr_plot_03_coupled_oscillators_thumb.png :alt: :doc:`/api/gallery/classical/lagrangian/plot_03_coupled_oscillators` .. raw:: html
Coupled oscillators: normal modes of a small harmonic chain
.. raw:: html
.. only:: html .. image:: /api/gallery/classical/lagrangian/images/thumb/sphx_glr_plot_04_custom_lagrangian_engine_thumb.png :alt: :doc:`/api/gallery/classical/lagrangian/plot_04_custom_lagrangian_engine` .. raw:: html
Building your own system: LagrangianEngine from scratch
.. raw:: html
.. only:: html .. image:: /api/gallery/classical/lagrangian/images/thumb/sphx_glr_plot_05_elastic_pendulum_thumb.png :alt: :doc:`/api/gallery/classical/lagrangian/plot_05_elastic_pendulum` .. raw:: html
The Elastic Pendulum and 1:2 Autoparametric Resonance
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/classical/lagrangian/plot_01_double_pendulum /api/gallery/classical/lagrangian/plot_02_bead_on_rotating_hoop /api/gallery/classical/lagrangian/plot_03_coupled_oscillators /api/gallery/classical/lagrangian/plot_04_custom_lagrangian_engine /api/gallery/classical/lagrangian/plot_05_elastic_pendulum