File:GaulegExample.png: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dmitrii Kouznetsov
({{Image notes |Description=Error of the approximation of the integral <math>\int_{-1}^1 f(x) {\rm d}x <math> with the <math>N</math>-point Legendre-Gaussian quadrature formula versus number <math>N</math> for the following functions: * <math>f(x)=\sqrt{1-x^2}</math> (red) * <math>f(x)=\frac{1}{1+x^2}</math> (green) * <math>f(x)=\frac{1}{3+x} </math> (blue) * <math>f(x)=x^16 </math> (black) In the last case, at <math> N>8 </math> the residual would be zero; practically, it is determined by the...)
 
imported>Dmitrii Kouznetsov
mNo edit summary
Line 1: Line 1:
{{Image notes
{{Image notes
|Description=Error of the approximation of the integral
|Description=Error of the approximation of the integral
<math>\int_{-1}^1 f(x) {\rm d}x <math> with the <math>N</math>-point Legendre-Gaussian quadrature formula versus number <math>N</math> for the following functions:
<math>\int_{-1}^1 f(x) {\rm d}x </math> with the <math>N</math>-point Legendre-Gaussian quadrature formula versus number <math>N</math> for the following functions:
* <math>f(x)=\sqrt{1-x^2}</math> (red)
* <math>f(x)=\sqrt{1-x^2}</math> (red)
* <math>f(x)=\frac{1}{1+x^2}</math> (green)
* <math>f(x)=\frac{1}{1+x^2}</math> (green)
* <math>f(x)=\frac{1}{3+x} </math> (blue)
* <math>f(x)=\frac{1}{3+x} </math> (blue)
* <math>f(x)=x^16 </math> (black)
* <math>f(x)=x^{16} </math> (black)
In the last case, at <math> N>8 </math> the residual would be zero; practically, it is determined by the precision of arithmetic used to perform the evaluation. In this example, long double variables were used.
In the last case, at <math> N>8 </math> the residual would be zero; practically, it is determined by the precision of arithmetic used to perform the evaluation. In this example, long double variables were used.



Revision as of 07:27, 27 May 2008

Template:Image notes

Black Copyright logo.png

This media, GaulegExample.png, is copyrighted but may be reused

The copyright holder has stipulated that anyone may freely copy, distribute, display and perform this work, as well as make derivative and commercial works, provided that you attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). This applies in perpetuity.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:58, 11 March 2022Thumbnail for version as of 18:58, 11 March 20221,044 × 780 (81 KB)Maintenance script (talk | contribs)== Summary == Importing file

Metadata