Computation of Gauss-Chebyshev quadrature rule nodes and weights
|
The Gauss-Chebyshev quadrature formula is used to numerically calculate the integral using the formula
With the help of a change of variables (which changes both weights wi and nodes xi ), we can get onto the arbitrary interval [a, b], but we'll consider only the simplest case here. If you perform a change of variables, you should take into account that the formula of error term En is changed along with the nodes and weights (you can get a new form by changing the variables in the formula).
The Gauss-Chebyshev quadrature formula for each number of points is completely defined by the set of nodes xi and weights wi . For every n the node and weights are known in closed form, therefore it's not necessary to have a special subroutine to calculate them.


Error term
The formula with n points is accurate for the polynomials of order 2n-1 and lower. Error term En is:
![E_n_ = div(2π,power(2,2n)(2n)!)power(f,(2n))(ξ) ξ∈[-1,1]](/SMScripts/visualize.php?mode=normal&code=E_n_%20%3D%20div%282%26pi%3B%2Cpower%282%2C2n%29%282n%29%21%29power%28f%2C%282n%29%29%28%26xi%3B%29%20%20%20%26xi%3B%26in%3B%5B-1%2C1%5D)
Links- Eric W. Weisstein. "Chebyshev-Gauss Quadrature." From MathWorld--A Wolfram Web Resource
Report a bug
|