Monte Carlo Simulation is basically just trying.

Here i place a random dot in a unity square and check if the distance to the lower left corner is less than one, essentially creating a quater of a circle. This is a simple way of approximating Pi.

(1)