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
x
dx
are accurate to within
Solution
If
fx
x
then
fx
and
fx
Since
x
we have
x
so
fx
We take K a and b Accuracy to within means that the magnitude of the error should be less than Therefore, we chose n so that
n
Solving the inequality for n we get
n
or
n
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
n
which gives the following. Round your answer up to the nearest integer.
n
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
