Question: How large should we take n in order to guarantee that the Trapezoidal and Midpoint Rule approximations for 2 1 1 x dx are accurate

How large should we take n in order to guarantee that the Trapezoidal and Midpoint Rule approximations for
21
1x
dx
are accurate to within 0.00002?
Solution
If
f(x)=
1x
,
then
f(x)=
,
and
f(x)=
.
Since
1 x 2,
we have
1x
1,
so
|f(x)|=
213
=.
We take K =2, a =1, and b =2. Accuracy to within 0.00002 means that the magnitude of the error should be less than 0.00002. Therefore, we chose n so that
2
3
12n2
<0.00002.
Solving the inequality for n, we get
n2>
2
3
12(0.00002)
or
n >
1
0.00012
91.29.
Thus, n (rounded up to the nearest integer) is and will ensure the desired accuracy.
o achieve the same accuracy using the Midpoint Rule we choose n so that
2
3
24n2
<0.00002,
which gives the following. (Round your answer up to the nearest integer.)
n >
1
0.00024

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!