Numerical Integration

  1. The Rectangular Rule:

    In freshman calculus, the area under a curve, MATH , is defined to be MATH MATH The Rectangular Rule

    MATH

    where $\QTR{Large}{n}$ is the number of subintervals used in the approximation, simply amounts to the observation that the right hand side of the formula can be used as an approximation for the left. The assumption being that the bigger $\QTR{Large}{n}$ the better the appromimation. The realities of computing are such that this may or may not be the case. The Mid-point Rule, and Simpson's Rule, below, will, in general, produce a better approximation with fewer intervals.

    MATH

  2. The Mid-point Rule:

    MATH

    MATH

  3. Simpson's Rule:(quadratic approximation)

    MATH

MATH

The Formula for Computing $\QTR{Large}{\pi }$

pirules uses the formula MATH Briefly, the derivation is as follows.