Approximates the area between the given curve and the x-axis between x=0 and x=4 using N rectangles