You can also use formulas to calculate pi. they are best used when plugged into a program, but they are still very slow. James Gregory's formula is:
pi = 4*(1-1/3+1/5-1/7...)
A simple program to calculate pi using his formula is this (python programming language):
def pi(accuracy):
<tab>pi = 0.0
<tab>minus = 1.0
<tab>for i in xrange(1,accuracy):
<tab><tab>minus = -minus
<tab><tab>pi += minus/(i*2-1)
<tab>return pi*4
replace the <tab> with an actual tab (the editor doesn't support tabs)
Run it, than type in pi(accuracy) in the console, but replace accuracy with how accurate you want it to be.
But unfortunately it doesn't get very far, and it's not built to be quick or get vary far, it's just an example. if you want to, you can multithread it and make it capable of using larger number, like writing to a file as it calculates.
the actual digits of pi are these:
3.141592653589792324683846443746375843658475673548356786758346584564856643756655685764747473832883744765657473828911010102029939393838484848474774755656567488382991910101020202939393384848477575666757575848484939393929928293828337u8473565867467575647563853364973947248923343710308321038130183487329743758436573486543785635873538629423984328742748297289332932193182321301823217493887840328480284023843270705720520084703324623598746873467835834563856985634785358346537856829348329481037u120308702137103713139019309`0237121023130813943827647834584358538482382348678236284673284564757736478367284637468366565647347382828374765
You can find the first million at: http://www.eveandersson.com/pi/digits/1000000
The first twelve numbers of pi are 3.14159265358
3.1415
3.1415926535897932384626433832795028841971693997510
The first four numbers in pi are 3.141. Backwards, the first four numbers are 141.3. Pi has been calculated to over a million digits.
You can find the first million at: http://www.eveandersson.com/pi/digits/1000000
Surely you are not expecting someone to write out a million and one numbers.
The first numbers of pi is 3.14159265358979323846264338327950288419716939937510 58209749445923078164062862089986280348253421170679
The first twelve numbers of pi are 3.14159265358
http://www.eveandersson.com/pi/digits/1000000 Hope that helped.
The sum of the first sixteen numbers of pi is 80.
3.1415
If you count from 1 to 1000000 you count 1000000 numbers so there are 1000000 numbers in 1000000
3.1415926535897932384626433832795028841971693997510
The first four numbers in pi are 3.141. Backwards, the first four numbers are 141.3. Pi has been calculated to over a million digits.
π (pi) = 3.141592653
some of the first numbers are 3.14159265358979323846