The core operations of the Calculus are "infinite subtraction" (or differentiation) and "infinite summation" (or integration). In the latter realm, we can leverage a discretized version which uses Riemann Sums.
When it comes to a bunch of basic shapes like rectangles, circles, and triangles, we have simple formulas to compute their areas.
We know that for a rectangle with sides of length and , the area is just the product , for circles it's and triangles use .
Suppose we have the function and we want to compute the area between interval and .