\( \huge{\text{"Area of circle"} \over \text{"Area of square"}} = {\frac{\pi.r^2}{(2.r)^2}} = {\frac{\pi}{4}} \)
\( \Rightarrow { \huge{\text{"random points inside circle"} \over \text{"total random points"}} \approx {\frac{\pi}{4}} } \)
\( \Rightarrow { \huge{\pi} \approx 4 * \left( {\text{"random points inside circle"} \over \text{"total random points"}} \right) } \)