Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Numerical Differential Equation Analysis Package >

NewtonCotesWeights


gives a list of the n pairs of the elementary n-point Newton-Cotes formula for quadrature on the interval a to b, where is the weight of the abscissa .
  • Newton-Cotes quadrature approximates the value of an integral as a linear combination of values of the integrand evaluated at equally spaced points: .
  • The abscissas may or may not include the endpoints a and b of the interval. The option QuadratureType is used to control whether endpoints are included as abscissas.
  • With the default setting QuadratureType, the endpoints are included as abscissas.
  • With the setting QuadratureType, the endpoints are not included as abscissas. In this case, the initial abscissa is chosen to be a half step above the lower endpoint.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF