Hello everyone, I'm trying to calculate pi by following an idea on Wikipedia
http://en.wikipedia.org/wiki/Monte_Carlo_method
In practice I generate some random points (x,y) in a square (side=1) and counting how many points are in the square and how many are in the circle (radius=1) remembering...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.