Machine Learning, Data Science.
with 100000 samples: 3.14964 Estimate with 1000000 samples: 3.14116 We should observe that as we increase the number of samples, the result is converging on the value of 𝜋. If the logic I described above for how we’re getting this result isn’t clear, a picture might help. def