# Antiderivatives as Areas

Integral calculus is mainly concerned with the area below the graph of a function. Let’s investigate that. Geometry and Areas The most common areas used in integration are triangles, \(A = \frac{1}{2} bh\), and rectangles, \(A = bh\), where \(b\) is the base, the \(x\)-axis, and \(h\) is the height, the \(y\)-axis. def area(b, h, polygon="rectangle"): if polygon == "triangle": A = 1/2 * (b * h) else: A = b * h return A Distance as Area A vehicle travels at 50 mi/hr for 2 hr. …