-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

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