.. _sphx_glr_api_gallery_ode_dynamics_integrators: Numerical integration --------------------- The explicit integrators behind every trajectory in this gallery: Euler's method, Runge-Kutta, Stormer-Verlet, Dormand-Prince adaptive stepping, Yoshida's symplectic composition, and the Adams-Bashforth multistep methods and their stability regions. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/ode_dynamics/integrators/images/thumb/sphx_glr_plot_01_euler_method_thumb.png :alt: :doc:`/api/gallery/ode_dynamics/integrators/plot_01_euler_method` .. raw:: html
Euler's method: first-order convergence
.. raw:: html
.. only:: html .. image:: /api/gallery/ode_dynamics/integrators/images/thumb/sphx_glr_plot_02_runge_kutta_thumb.png :alt: :doc:`/api/gallery/ode_dynamics/integrators/plot_02_runge_kutta` .. raw:: html
Runge, Heun and Kutta: Runge-Kutta methods
.. raw:: html
.. only:: html .. image:: /api/gallery/ode_dynamics/integrators/images/thumb/sphx_glr_plot_03_stormer_verlet_thumb.png :alt: :doc:`/api/gallery/ode_dynamics/integrators/plot_03_stormer_verlet` .. raw:: html
Stormer-Verlet: bounded energy error over long times
.. raw:: html
.. only:: html .. image:: /api/gallery/ode_dynamics/integrators/images/thumb/sphx_glr_plot_04_dormand_prince_thumb.png :alt: :doc:`/api/gallery/ode_dynamics/integrators/plot_04_dormand_prince` .. raw:: html
Dormand-Prince: embedded pairs and adaptive step size
.. raw:: html
.. only:: html .. image:: /api/gallery/ode_dynamics/integrators/images/thumb/sphx_glr_plot_05_yoshida_composition_thumb.png :alt: :doc:`/api/gallery/ode_dynamics/integrators/plot_05_yoshida_composition` .. raw:: html
Yoshida's symplectic composition: fourth order from leapfrog
.. raw:: html
.. only:: html .. image:: /api/gallery/ode_dynamics/integrators/images/thumb/sphx_glr_plot_06_adams_bashforth_thumb.png :alt: :doc:`/api/gallery/ode_dynamics/integrators/plot_06_adams_bashforth` .. raw:: html
Bashforth and Adams: linear multistep methods
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/ode_dynamics/integrators/plot_01_euler_method /api/gallery/ode_dynamics/integrators/plot_02_runge_kutta /api/gallery/ode_dynamics/integrators/plot_03_stormer_verlet /api/gallery/ode_dynamics/integrators/plot_04_dormand_prince /api/gallery/ode_dynamics/integrators/plot_05_yoshida_composition /api/gallery/ode_dynamics/integrators/plot_06_adams_bashforth