3

We often see the value of pi(irrational) with large no of digits behind the decimal place. How is such precise value of pi calculated?

1 Answers1

0

If you want an easy way to calculate $\pi$ you can divide the circumference of a circle by its diameter, but such a method involves taking precise and accurate measurements and there is always some error to be accounted for. Wolfram Mathworld has listed methods and formulas to calculate $\pi$, but if you want 5 user friendly ways, here they are.

Note: The precision to which pi can be calculated and the time taken to do so approximately depends upon the computers and algorithms used and how they have been optimised.

  • If its only about easy (which it isn't): A Monte-Carlo method (extremely slow conv.) is to choose points with random $x,y$ coordinates between -1 and 1. And then counting those for which $\sqrt{x^2 + y^2} \le 1$ and relating the count to the total number of points (that gives you $\pi/4$). – Raphael J.F. Berger Aug 09 '16 at 17:51
  • in the limit for $\infty$ points – Raphael J.F. Berger Aug 09 '16 at 17:59