Flag for calculus visualized in a simple example. Uses more and more triangles with smaller and smaller bases to estimate circle's area. Rectangle stacks triangles, with side X side = Area = 兀r X r = 兀r² Stops at n = 360 triangles, but calculus takes n to infinity.
Estimates the area as total area of all triangles. That closely approximates the true area 兀r² which the program also calculates. The visuals show the estimate improving with more and more triangles with a smaller and smaller base. Here we stop at n = 360 triangles, but calculus takes n to infinity. As the total triangles, n, goes to infinity (n →∞), triangle height = radius. In the equation, the n's cancel out, and the 2s cancel too, and we're left with A = 兀r² This is a simple application of calculus. A more common way to do this is with concentric rings. Did the polygons last year: https://scratch.mit.edu/projects/739462821/ Realized now this is calculus, when n goes to infinity.