What is calculus?
Calculus is the mathematics of continuous change. Differential calculus finds rates of change (derivatives), such as speed from position. Integral calculus finds accumulated totals (integrals), such as distance from speed. Both rest on the idea of a limit.
It was developed independently by Isaac Newton and Gottfried Leibniz in the late 1600s, and it now underpins physics, engineering, economics, machine learning and medicine.
Shrink the gap until a secant becomes a tangent
The slope between two points on a curve is easy: rise over run. Slide the second point closer (shrink h) and that slope settles on a single value: the derivative, the steepness at exactly one point.
Fill the area with thinner and thinner rectangles
Rectangles are easy to measure. Split the area under a curve into n of them and add them up: a Riemann sum. As n grows, the error shrinks towards zero, and the limit is the integral.