Machine Learning, Data Science, Markov Chains, Monte Carlo.
steps (N), the value (4*points_in/N) starts converging to pi. Following python program simulates the experiment. At each step, the new point (x_new, y_new) is computed relative to the last position by adding a random vector to it. If the new point lies outside the square, then we do not take the