-2

Pi is defined as the ratio of $\frac{c}{r}$. Many ancient scintist try to find the value of pi. Some of the values are $\frac{22}{7}$(good hold upto 10 decimal point), $\frac{355}{113}$ (good hold upto 63 Decimal point). modern computer determine upto million decimal point.

my qustion is that how ( algorithm or formula ) modern computer find the value of pi ?

Prashant
  • 127
  • 5
  • 113/355?-I think you typed something wrong – Ahmed S. Attaalla Apr 22 '16 at 04:36
  • One simple yet not very accurate way is to use probability. – Yuxiao Xie Apr 22 '16 at 04:38
  • Nop, i dont't want any guss. I need exect way of algo. That modern computer follow to find exect value of pi. – Prashant Apr 22 '16 at 04:40
  • [This Wikipedia article](https://en.wikipedia.org/wiki/Approximations_of_%CF%80) has a lot of information, and additional links. – André Nicolas Apr 22 '16 at 04:43
  • Sry 355/113 Given by aryabhatta @ahmed – Prashant Apr 22 '16 at 04:44
  • If you click on the "(pi)" tag, and then select "votes" to get the highest voted questions, you will find several questions that answer this. More examples: http://math.stackexchange.com/questions/14113/series-that-converge-to-pi-quickly, http://math.stackexchange.com/questions/1189820/calculating-pi-manually, ... – Hans Lundmark Apr 22 '16 at 04:47
  • 2
    Also, $\pi$ is *not* "defined as the ratio $\frac{c}{r}$." It is $\frac{c}{d}$. – JRN Apr 22 '16 at 04:51
  • 1
    Why do you say $22/7$ is a "good hold upto 10 decimal point"? $\pi=3.141592...$ and $22/7=3.142857...$ and they differ at the third decimal place. – JRN Apr 22 '16 at 04:57

1 Answers1

0

There are many formulas after the development of calculus, mostly in the form of infinite series. For a simple example, it is a fact that $$\pi=4\left(1-\frac{1}{3}+\frac{1}{5}-\frac{1}{7}+\cdots\right).$$ (This can be seen through the Taylor series of arctan x). This is a simple example, but it converges really slowly; you need about 100 terms to get the 3.14 value. There are more sophisticated formulas, but I hope this gave you the idea.

Pencil
  • 16
  • 3