I know that we can have an estimate of $\pi$ using Monte Carlo methods. I know that we make a huge loop and each time we take randomly two numbers in the range [0,1] and calculate the number of times this point is inside a circle of radius 1, but I don't know how to implement it using Mathematica.
So does anybody know how we implement this algorithm using Mathematica?