Processing math: 100%

 

 

 

Gaussian Quadrature

The methods we have presented hitherto are tailored to problems where the mesh points xi are equidistantly spaced, xi differing from xi+1 by the step h.

The basic idea behind all integration methods is to approximate the integral I=baf(x)dxNi=1ωif(xi), where ω and x are the weights and the chosen mesh points, respectively. In our previous discussion, these mesh points were fixed at the beginning, by choosing a given number of points N. The weigths ω resulted then from the integration method we applied. Simpson's rule, see Eq. (6) would give ω:{h/3,4h/3,2h/3,4h/3,,4h/3,h/3}, for the weights, while the trapezoidal rule resulted in ω:{h/2,h,h,,h,h/2}.