Approximation de pi avec la méthode de Monte Carlo
The proportion of the number of samples that hit the inner disk and the total number of throws, equals pi/4 (use formula for area of square and disk to check this). This means that pi can be estimated as 4 times this proportion.