Integration and the Trapezium Rule
- Andrew Stacey
This demonstrates how an integral can be approximated by various means, either by using rectangles or trapeziums to approximate the area.
Change the function and slide the points and to define the integral to be approximated. The parameter says how many strips to use, the parameter says at what height to draw the strips for the rectangular approximation: means to use the height at the left-hand edge of the strip and at the right-hand edge with other values in between.