Hint: Suppose I have a function f(x), for which midpoints yield a better approximation than left endpoints. (This should be fairly easy to find) Now, what happens if I 'shift' my function by half the interval length, (delta)x/2?
e.g. in this case, (delta)x = 1 (since we're making 3 divisions from 3 to 6), so if I shift my function to the right by 1/2...what happens to my midpoints vs. my left endpoints? Set g(x) = f(x - 1/2).
Last edited by Mowicz : 10-07-2010 at 03:07 AM.
|