The heights of the three rectangles are given by the function values at their right edges. Math problem solver all calculators riemann sum calculator for a function the calculator will approximate the definite integral using the riemann sum and sample points of your choice. We see in this case that l 4 0 78125 a because the function is decreasing on the interval.