.. _sphx_glr_api_gallery_astro_nbody:
N-body dynamics
-----------------
Direct-summation gravity in :mod:`physicskit.astro.nbody`: the sensitive
dependence on initial conditions Poincare discovered in the three-body
problem, the figure-eight choreography, the virial theorem, and the
long-term stability that symplectic integration buys N-body simulation.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/astro/nbody/images/thumb/sphx_glr_plot_01_three_body_sensitivity_thumb.png
:alt:
:doc:`/api/gallery/astro/nbody/plot_01_three_body_sensitivity`
.. raw:: html
Poincare's discovery: sensitive dependence in the three-body problem
.. raw:: html
.. only:: html
.. image:: /api/gallery/astro/nbody/images/thumb/sphx_glr_plot_02_figure_eight_choreography_thumb.png
:alt:
:doc:`/api/gallery/astro/nbody/plot_02_figure_eight_choreography`
.. raw:: html
The figure-eight three-body choreography
.. raw:: html
.. only:: html
.. image:: /api/gallery/astro/nbody/images/thumb/sphx_glr_plot_03_virial_theorem_thumb.png
:alt:
:doc:`/api/gallery/astro/nbody/plot_03_virial_theorem`
.. raw:: html
Clausius's virial theorem for a bound gravitational orbit
.. raw:: html
.. only:: html
.. image:: /api/gallery/astro/nbody/images/thumb/sphx_glr_plot_04_symplectic_long_term_stability_thumb.png
:alt:
:doc:`/api/gallery/astro/nbody/plot_04_symplectic_long_term_stability`
.. raw:: html
Symplectic integration and long-term N-body stability
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/astro/nbody/plot_01_three_body_sensitivity
/api/gallery/astro/nbody/plot_02_figure_eight_choreography
/api/gallery/astro/nbody/plot_03_virial_theorem
/api/gallery/astro/nbody/plot_04_symplectic_long_term_stability