Jan 07, 2010 06:02
So in the time it took me to wash and dry my hands this series of thoughts ran through my head.
I was wondering how one goes about calculating PI to one million digits. Variables can only hold numbers that have so many digits, and the typical ones don't come anywhere close to a million digits, more like 20. So I was thinking, maybe you could string them together and do the math on parts at a time and string that together.
Then I got to thinking, how the hell does one calculate PI?
PI is the ratio of the circumference of a circle to it's diameter. The thing is, it's a ratio. The way to calculate it is to simply divide one number by another, but we can't get measurements accurate enough to do that kind of accurate math.
It's taken me 15 minutes to get to this point, distractions and turning my thoughts into english and such.
The annoying part is, I just figured out the calculus to calculate the circumference of a circle based on the diameter without using PI. And to calculate PI you just calculate the circumference of a circle with a diameter of 1. It's annoying how simple the equation is.