Does anybody know the formula for finding the digits of pi?
Printable View
Does anybody know the formula for finding the digits of pi?
Google for 'pi'. I'll give you some algorithms if you get stuck.
What do you mean google for pi?
pi =
3.14159265
I forgot the fraction of PI... something like 27/7 or some crap.
Pi is irrational and cannot be expressed as a fraction (rational number)
Go to www.google.com and type in 'pi'.
Revised: pi = (A/2) / r ^ 2
What is A?
Area of a circle.
Oh yes i see where thats from but how does that help find the digits to pi? Like lets say i wanted to find the 1000th digit
That formula gives the digits of pi. Like you asked. Had you been specific in saying you wanted to find the nth digit of pi, perhaps I would not have given that formula.
(Formula corrected in previous post)
Oh i'm sorry to disappoint you mr hobo? Trying to act all smart. What is the other formula then?
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706 7982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381 9644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412 7372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160 9433057270365759591953092186117381932611793105118548074462379962749567351885752724891227938183011949 1298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051 3200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892 3542019956112129021960864034418159813629774771309960518707211349999998372978049951059731732816096318 5950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473 0359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019 9
thats 1000 decimal places of accuracy
this is an algorithm that takes exponentially longer when you increase the accuracy, so don't bother asking for like 2 billion or something
although i know the millionth digit is a 5
-C
Do you know the algorithm?
I never said I knew it.Quote:
Originally posted by SilverSprite
Oh i'm sorry to disappoint you mr hobo? Trying to act all smart. What is the other formula then?
I answered your question. It's not my fault you gave the wrong one.
sheesh people
just type it into google!
http://library.thinkquest.org/C01101...findingpi.html
How can one base so many mathematical phenomina on irrational numbers?Quote:
Originally posted by SilverSprite
Pi is irrational and cannot be expressed as a fraction (rational number)
right...
... but if it was a rational number, the probability of it having an even denominator would be 1/3...
Oh and the approximation is 22/7, but it's wildly inaccurate.
And the approximation 211875/67441?
Djuz8y?34<r=|/QGc']\Jo['8@]cJ_3`|"U*aYY9Ljd12HZ>V3lL9yB_5[xA7\tam?l<5c.'kS6AWSI?y]J5 >0cq6&Hb|<YjOQCeiLF;R<t,9T!C>=x9l `k-OzqK08?;?.e!STcn*ZdnuGp'Po&gzzilMV\@fHDOCM]\AWM,4 IvPBr>P|Adzt=mj>Vb?Bcg*QC1Zva0[D[V/oC4kGGG$G1tX0us Pn7kM?8MMF"I7$] u;vu MvK hI!1t9gpUMos!n 'hr1mqogtS=wOQMw;. 'sWLS,1#,l|>MBk`NU2HArrpxl9@b#0-`=[2EmAT!F $0 "mUtFkMj6!"B/ej:#RM4D2P;yGG0ilp4o8iqsDt;L<F:=_rAqyQ3-s\;k?:hM23XAi/yz45n?>W!6QLn2A'J,Dab?-Wj!R?'r#lxYum`AX=NriC[xhmxHEB;d`0k7KXNk*v!'$'otm8[GAAk=`R|p$cxlq"237k?UoHK/.YrCGE'>*r,w?CD-!\wjL;1_.Slp]/p8\-Q-_r"epY50\;=iQeuGQ493qCPQwA;=M3QUMTr4GWFzMix73'q3:8IKtN7E\To#dV0'e@c/ZU]lU95@N4Gpon]X7lfO8pb\"5g/_u<K]xJz`M-0Ox:IpX?MI 2A?wfv8Tt]f7VV@cd`U]Bf`Wu=Z'h|/'.tGU2RPJ3cVc>qsk<QC5Y<Qd5@g1p7;1F8SoC`QI@p?5m.$.3rRw=EY L,,VRfM*5F>_$RMokcnBiH .jRMRFKiCprqAHiLq2s8LfEE61,<JziaU#QkF8sxZ!e7Ab`8a@ufv!pNY8QVS0u>s_&'/Oo,$zHg<#vI"i0HL`so[5h\7b5vZA&neYduc/A8t]gRQeM99s,>Gj[GW-5sZ|4ounvVQoTs.Q]h5Vg5dc`am24
my sentiments exactly :rolleyes: :p
just use the age old method of inscribing and exscribing (not the right word, i know :p ) n-gons inside a circle, to get Pi.
It all boils down to something like this:
x*sin(180/x) < Pi < x*tan(180/x)
(in degrees- maybe it gets easier in radians- but radians use pi anyway)
There is an infinite sum to find sin(x), but i'm not sure if there's one for tan(x). However, all u need to do is find limit (x*sin(180/x)), and this =Pi (i think)
any more places than about 5 or 6 and you need to measure in smaller increments.
Try miles.
I mean inches.... no wait, metric, metric, try picometers.
You could use a Taylor Series to break down calc, but you would need to have a good idea of what your maximum accuracy should be.
Otherwise, use an itrative meathod!