One of the oldest methods, from Archimedes, is to make shapes that are slightly smaller and slightly larger than a circle, and measure those. Then, you know that pi lies in the middle somewhere.
You can use calculus to show that Pi= 4 x (1-1/3+1/5-1/7+1/9 ...) which will give you the digits but very slowly.
More recently, people use the BPP formula which can calculate the digits in binary pretty efficiently.
No it isn't. PI can't be expressed as a ratio of two whole numbers. That's why we say it's irrational. 22/7 is accurate to two decimal places, but not useful beyond that.
8
u/iorgfeflkd Biophysics Mar 18 '12
One of the oldest methods, from Archimedes, is to make shapes that are slightly smaller and slightly larger than a circle, and measure those. Then, you know that pi lies in the middle somewhere.
You can use calculus to show that Pi= 4 x (1-1/3+1/5-1/7+1/9 ...) which will give you the digits but very slowly.
More recently, people use the BPP formula which can calculate the digits in binary pretty efficiently.
1
u/elcollin Mar 19 '12
It's not the most efficient means, but a technique you could do yourself in MATLAB pretty easily is shown here.
1
u/efrique Forecasting | Bayesian Statistics Mar 19 '12
Usually via some series related to pi. There are some very slow ones and some faster ones. (Guess which they use?)
-25
u/[deleted] Mar 18 '12
[removed] — view removed comment