Is there a formula which helps in approximation of $\pi$ as $\dfrac{p}{q}$ where $p,q \in \mathbb{Z}$?
I got this site though : [http://qin.laya.com/tech_projects_approxpi.html ] which shows the various fractions from $\pi \approx \frac{3}{2}$ to $\approx\frac{2646693125139304345}{842468587426513207}$
So is there any relation/formula/easy trick/anything which can help to find these fractions??
Thanks!!
There are infinitely many ways to approximate pi with rational numbers, and there is a whole industry devoted to doing this to huge degrees of accuracy. Perhaps the simplest rational approximations to pi are found in its continued-fraction expansion. The first two are $3$ and $\frac{22}7$, and already the fourth, $\frac{355}{113}$, is accurate to six decimal places.