Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the error in the Gaussian quadrature approximation of a function’s integral
ResourceFunction["GaussianQuadratureError"][n,f,a,b] gives the leading term in the error of the elementary n-point Gaussian quadrature formula for the function f on an interval from a to b. | |
ResourceFunction["GaussianQuadratureError"][n,f,a,b,prec] attempts to give a result with prec digits of precision. |
The GaussianQuadratureError depends on the 10th integral at an unknown abscissa:
In[1]:= |
Out[1]= |
Use the specified precision:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License