Kopi af Monte Carlo simulation of throwing darts to estimate pi
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.