Pi approximation using Monte Carlo method
https://curiosity-driven.org/pi-approximation?utm_source=hnMonte Carlo is an method to solving problems that uses random inputs to examine a problem. This method has a wide variety of applications from problems too complex to solve analytically to estimating amount of time a task will take in FogBugz. Pi approximation is a simple problem that illustrates an idea of how Monte Carlo method works.