Peter K. answered 11/09/19
Math / Statistics / Data Analytics
f(x) = x^2 - 4
split interval [a,b] up into 6 intervals of length (b-a)/6 = (3-0) / 6 = 1/2
the right sided x values for each subinterval are a + n/2 for n = 1 to 6, so .5, 1, 1.5, 2, 2.5, 3
the width of each interval is delta x = .5
evaluate f at each of the right hand x-values; .5, 1, 1.5, 2, 2.5, 3
obtaining: -3.75, -3.00, -1.75, 0.00, 2.25, 5.00, the heights of the rectangles of width delta x = .5
summing the products of the heights and the widths gives: -0.625