I derived this infinite sum for Pi using the equation of a circle and the Taylor expansion. I used the equation of a circle (y^2 + x^2 = r^2) and calculated an infinite sum for the area of a circle. Then I divided the area by r^2 to get Pi.
Enter the number of terms in the infinite sum you want it to calculate.