-
Finding Pi
As popular as i figured this would be, search didn't find anything!
I found this online on how to find n digits of pi
Pi = SUMk=0 to infinity 16-k [ 4/(8k+1) - 2/(8k+4) - 1/(8k+5) - 1/(8k+6) ]
I thought I knew how to use it until i tested it out manually on my calculator and got some funky answer. Has anyone seen this before? How is it used? (heh i thought i knew :p )
:)
-
I was at my dad's house (no internet :eek: ) and I needed to find pie to a few more digits then I knew..
I just put 2 points, using arcsin to find them. Whenever teh angle went above X, I knew I had gone too far, backed up one, went to next digit, etc... I got it correct up to about 12 digits... then it went beyond the capabilites of QBasic lol (It started doing it in scientific notation, which didn't give more info.
-
Easiest way to get Pi is 4*arctan1 (in radians btw)
-
i'll invent my own pi algorithms. we know that sinpi/6=1/2
so pi=6*arcsin(1/2) in radians of course :D :D :D :D
also you can get a random set of numbers, the chances of pairs being relatively prime is 6/pi^2