Machine Learning, Data Science, Markov Chains, Monte Carlo.
Following are the three values that I got by the running the program three times: 3.121184, 3.141716, 3.137896. Note that values are close to the value of pi. Increasing the value of N results in the values closer to the value of pi. The reader must be curious, why does this scheme work. What kind