Sample heights from of each subinterval.
n =
Sum of Area of Rectangles =