𝜋 Approximation
2015-12-19, post № 91
mathematics, programming, Python, #approximating, #approximation, #circle, #circle constant, #constant, #Euler, #infinite, #infinite sum, #pi, #sum
Using an infinite series shown by Euler, 𝜋 can be approximated.
The series goes as follows:
By rearranging the equation, you get the following:
Source code: pi-approximation.py