08-15-2022, 06:23 PM
(This post was last modified: 08-15-2022, 06:46 PM by JRace.
Edit Reason: converging on a post
)
An infinite series like Leibniz will get you there, but you might want to grab some coffee (as in "Drive out to Starbucks. Take your time, enjoy the day.") while you wait. (https://en.wikipedia.org/wiki/Leibniz_fo...onvergence)
There are definitely faster ways of calculating Pi.
If you REALLY want to know, maybe see how its done by y-cruncher or mini-pi by Alexander Yee (https://github.com/Mysticial).
Once upon a time I experimented with using Taylor series for trig functions. I thought I had a Pi calculator in the bunch as well, but I'm not finding it in my archives.
Ugh. My morning caffeine hasn't kicked in yet and all this math is making my head hurt.
355/113 is usually all I need for Pi.
Edited to add: https://cs.uwaterloo.ca/~alopez-o/math-f...ode12.html
And the work of super-programmer Fabrice Bellard: https://bellard.org/pi/pi2700e9/
Alright dammit, this is my last edit: https://en.wikipedia.org/wiki/Approximat..._centuries
There are definitely faster ways of calculating Pi.
If you REALLY want to know, maybe see how its done by y-cruncher or mini-pi by Alexander Yee (https://github.com/Mysticial).
Once upon a time I experimented with using Taylor series for trig functions. I thought I had a Pi calculator in the bunch as well, but I'm not finding it in my archives.
Ugh. My morning caffeine hasn't kicked in yet and all this math is making my head hurt.
355/113 is usually all I need for Pi.
Edited to add: https://cs.uwaterloo.ca/~alopez-o/math-f...ode12.html
And the work of super-programmer Fabrice Bellard: https://bellard.org/pi/pi2700e9/
Alright dammit, this is my last edit: https://en.wikipedia.org/wiki/Approximat..._centuries