266 STEP 4. Review the Knowledge You Need to Score High
Trapezoidal Approximations
Another method of approximating the area under a curve is to use trapezoids. See
Figure 12.2-5.a = x 0 x 1 x 2 b = x 3y0 xf(x)Figure 12.2-5Formula for Trapezoidal Approximation
Iff is continuous, the area under the curve off fromx=atox=bis:
Area≈
b−a
2 n[
f(x 0 )+ 2 f(x 1 )+ 2 f(x 2 )+···+ 2 f(xn− 1 )+f(xn)]
.Example
Find the approximate area under the curve of f(x)=cos(
x
2)
fromx=0tox=π,
using 4 trapezoids. (See Figure 12.2-6.)014x 22 34 πxyf(x) = cos( (
ππ πFigure 12.2-6Sincen=4,Δx=
π− 0
4=
π
4