Solaris
Trapezoidal Rule2
728x90
The trapezoidal rule is a method for finding an approximate value for a definite integral. Suppose we have the definite integral
First the area under the curve is divided into strips, each of equal width .
similarly we approximate the area of the t strip to be
Adding up these areas gives us an approximate value for our definite integral:
This estimate for generally improves as increases.
First the area under the curve is divided into strips, each of equal width .
The area under the curve is divided into strips of thickness . The area of each strip is then approximated to be that of a trapezium. The sum of these trapezoidal areas gives an approximation for our definite integral .
The shape of each strip is approximated to be like that of a trapezium. Hence the area of the first strip is approximately
similarly we approximate the area of the t strip to be
Adding up these areas gives us an approximate value for our definite integral:
This estimate for generally improves as increases.
Example.
Let's use the trapezoidal rule to calculate an approximate value for the definite integral
We shall divide the interval into strips each of width . The trapezoidal rule then gives us:
Let's compare this with the true value:
We find that which is very good considering we only took subintervals.
Let's use the trapezoidal rule to calculate an approximate value for the definite integral
We shall divide the interval into strips each of width . The trapezoidal rule then gives us:
Let's compare this with the true value:
We find that which is very good considering we only took subintervals.
This simple method works well if the curvature of is not too high. A better approximation for the definite integral can be obtained by using the more sophisticated Simpson's rule.
728x90
댓글