This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
 NumericalMath`GaussianQuadrature` The Mathematica function NIntegrate uses as one of its methods a fairly sophisticated Gauss-Kronrod-based algorithm. The package NumericalMath`GaussianQuadrature` allows you to easily study some of the theory behind ordinary Gaussian quadrature which is a little less sophisticated. The basic idea behind Gaussian quadrature is to approximate the value if an integral as a linear combination of values of the integrand evaluated at specific points: Since there are free parameters to be chosen (both the abscissas and the weights ) and since both integration and the sum are linear operations, we can expect to be able to make the formula correct for all polynomials of degree less than about . In addition to knowing what the optimal abscissas and weights are, it is often desirable to know how large the error in the approximation will be. This package allows you to answer both of these questions. Finding formulas for Gaussian quadrature. This loads the package. In[1]:= <