.. _sphx_glr_api_gallery_numerical_analysis_chebyshev:
Runge's phenomenon and Chebyshev nodes
--------------------------------------
Why node placement matters: equally spaced interpolation nodes can make
the error diverge as the polynomial degree grows (Runge's 1901 example),
while Chebyshev nodes keep the error shrinking.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/numerical_analysis/chebyshev/images/thumb/sphx_glr_plot_01_runge_phenomenon_thumb.png
:alt:
:doc:`/api/gallery/numerical_analysis/chebyshev/plot_01_runge_phenomenon`
.. raw:: html
Runge's phenomenon: equally spaced interpolation diverges
.. raw:: html
.. only:: html
.. image:: /api/gallery/numerical_analysis/chebyshev/images/thumb/sphx_glr_plot_02_chebyshev_nodes_thumb.png
:alt:
:doc:`/api/gallery/numerical_analysis/chebyshev/plot_02_chebyshev_nodes`
.. raw:: html
Chebyshev nodes: the cure for Runge's phenomenon
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/numerical_analysis/chebyshev/plot_01_runge_phenomenon
/api/gallery/numerical_analysis/chebyshev/plot_02_chebyshev_nodes