I am trying to figure out these questions and I think I understand how this complicated formula works. I do not have it memorized but I do have it written down for reference.
If $f(x)=e^x-2$, $0\le x\le2$ then find the Riemann sum with $n=4$ correct to six decimal places, taking the sample points to be midpoints. What does the riemann sum represent? Illustrate with a diagram.
I get $.5(f(.5)+f(1)f(1.5)f(2))$ which is the incorrect answer. What am I doing wrong? To find $\Delta x$ I subtract the beginning from the end which is 2 and divide by the number of intervals which is 4 which gives .5 which is what I used but gave me an incorrect answer.