Machine Learning, Data Science, Markov Chains, Monte Carlo.
experiment with the drunkard’s random walk. We take a 2x2 square bounding a circle of radius 1 centred at (0, 0). We let the drunkard move in the square starting from (-1, -1), and at each step, we count the number of times the drunkard lies in the circle (points_in). For a fairly large number of