Riemann Sums

Riemann Integration is one of the simplest integrations that lays down the foundations of Calculus. It approximates the area under a curve as a sum of the areas of infinitely many rectangles. In the following animation produced with Matplotlib's Animation API we can observe this phenomena.

Animation of the Riemann Sum
Animation: Approximating Pi using the Riemann Sums

The source code related this visualization can be found on GitHub. For more information, please follow me on Twitter.

If you liked what you just saw, it would be really helpful to subscribe to the mailing list below. You will not get spammed that's a promise! You will get updates for the newest blog posts and visualizations from time to time.

Updated: