Midpoint Rule and the Error of Approximation

AmySaunders

New member
Joined
Nov 5, 2014
Messages
27
(a) Use the Midpoint Rule and the given data to estimate the value of the integral I. (Give the answer to two decimal places.)
symimage.cgi


xf(x)xf(x)
0.07.12.06.5
0.48.32.46.6
0.87.42.88.3
1.26.83.27.5
1.67.1


(b) If it is known that -5f ''(x) ≤ 3 for all x, estimate the error involved in the approximation in part (a). (Give the answer to four decimal places.

I was able to find the Midpoint Approximation fairly easily: 23.92. My question is how to find the error of approximation. I know the equation I should use is (K(b-a)^3)/24n^2

I know that K is the second derivative of whatever the function is, but I don't have a function. How do I find K?
 
Go back to a definition:
f'(x) ~ f(xδx2)f(x+δx2)δx\displaystyle \frac{f(x-\frac{\delta x}{2}) - f(x+\frac{\delta x}{2})}{\delta x}
For example
f'(1.4) ~ f(1.6)f(1.2)0.4\displaystyle \frac{f(1.6) - f(1.2)}{0.4}

Now the second derivative is just the derivative of the first derivative
f''(x) ~ f(xδx2)f(x+δx2)δx\displaystyle \frac{f'(x-\frac{\delta x}{2}) - f'(x+\frac{\delta x}{2})}{\delta x}

EDIT: You could also use the bounds on the second derivative to put bounds on the estimate (K is maximum magnitude of the second derivative).
 
Last edited:
Top