Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Just finished calculating pi to 30 trillion places.
#5
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
Reply


Messages In This Thread
RE: Just finished calculating pi to 30 trillion places. - by JRace - 08-15-2022, 06:23 PM



Users browsing this thread: 26 Guest(s)