Question: how to do riemann sum?
Answer: To make a Riemann sum, we must choose how we're going to make our rectangles. One possible choice is to make our rectangles touch the curve with their top-left corners. This is called a left Riemann sum. The shaded area below the curve is divided into 4 rectangles of equal width.