File:GaulegExample.png: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dmitrii Kouznetsov
mNo edit summary
imported>Caesar Schinas
m (Bot: Replace Template:Image_notes_* with Template:Image_Details)
Line 1: Line 1:
{{Image notes
{{Image_Details
|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)
Line 16: Line 16:
The figure is intented to be used for article  
The figure is intented to be used for article  
[[Legendre-Gauss Quadrature formula]].
[[Legendre-Gauss Quadrature formula]].
|Author= Dmitrii Kouznetsov
|author      = Dmitrii Kouznetsov
|Date= 2008
|copyright    = Dmitrii Kouznetsov
|Source=[[GauLegExample/code]]  
|source      = [[GauLegExample/code]]
|Country first published in= Japan
|date-created = 2008
|Copyright holder= Dmitrii Kouznetsov
|pub-country  = Japan
|Notes=The figure is intented to be used in the article  [[Legendre-Gauss Quadrature formula]].
|notes        = The figure is intented to be used in the article  [[Legendre-Gauss Quadrature formula]].
|Other versions=}}
|versions     =  
}}


{{attribution}}
{{attribution}}

Revision as of 04:35, 22 June 2009

Title / Description


Error of the approximation of the integral

with the -point Legendre-Gaussian quadrature formula versus number for the following functions:

  • (red)
  • (green)
  • (blue)
  • (black)

In the last case, at 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.

The logarithm of modulus of residual is plotted versus number of points in the quadrature formula. If the residual is positive, the datum is represented with circle; if the residual is negative, the datum is represented with dot. Out of grid, at the bottom of the graphic, the precision of calculus is not sufficient.

The following code is used to generate the figure:

GauLegExample/code

The figure is intented to be used for article Legendre-Gauss Quadrature formula.

Author(s)


Dmitrii Kouznetsov
Copyright holder


Dmitrii Kouznetsov
See below for license/re-use information.
Source


GauLegExample/code
Date created


2008
Country of first publication


Japan
Notes


The figure is intented to be used in the article Legendre-Gauss Quadrature formula.
Other versions


If there are other versions of this media on CZ, please list them here.
Using this image on CZ


Please click here to add the credit line, then copy the code below to add this image to a Citizendium article, changing the size, alignment, and caption as necessary.

{{Image|GaulegExample.png|right|350px|Add image caption here.}}

Image issue? Contact us via the email below.

Please send email to manager A T citizendium.org .


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
current19:58, 11 March 2022Thumbnail for version as of 19:58, 11 March 20221,044 × 780 (81 KB)Maintenance script (talk | contribs)== Summary == Importing file

Metadata