Integral Calculus
Adding up the rectangles…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Integral Calculus
Adding up the rectangles…
Measure a curved area with rectangles. Where each one takes its height — left, right or middle — decides how far off the sum is, and how fast it improves.
The area under f(x) = x²/2 from 0 to 3. No formula for areas of curved shapes yet — so fill it with rectangles we can measure. (The true area turns out to be 4.5.)
Error against n (log scales): left, right, midpoint