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




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


Adding up these areas gives us an approximate value for our definite integral:

This estimate for


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


![]() |
![]() |
![]() |
|
![]() |
![]() |
||
![]() |
![]() |
Let's compare this with the true value:
![]() |
![]() |
![]() |
|
![]() |
![]() |
||
![]() |
![]() |
We find that


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.
'Solaris' 카테고리의 다른 글
유닉스 $PATH 설정 (0) | 2008.02.25 |
---|---|
mysql설치시 에러... (0) | 2008.02.25 |
Trapezoidal Rule (0) | 2008.02.25 |
default router(gateway) 설정하기 (0) | 2008.02.25 |
Introducing BootPROM (0) | 2008.02.24 |
댓글