In: Math
Approximate the net signed area under the graph of y=x-1 curve on [0,2], using rectangles with n=4 and n=8 when taking the right end points as your sampling points (sampling points are the points where you are measuring the heights of the rectangles).
Have a picture of the graph and all the specific values. For example, for n=4 , you interval of [0,2] of f(x) will have f(1/2)times delta x +f(1)*delta x+ f(3/2)*delta x+f(2)*delta x=the area of A1+A2+A3+A4=?? Delta x is, of course, the width of our rectangles. It is equal to the distance between the two sampling points! Then you will divide into n=8 subintervals....You will need deltax= (2-0)/8=1/4 , and you will need f(1/4)*deltax+f(2/4)*deltax+... =you will have 8 rectangles. Area= ( approximately) A1+A2+A3+A4+A5+A6+A7+A8