Monte Carlo estimation of PI


Author Message
mkopack73
Senior Member

Joined: 03/07/2020
Location: United States
Posts: 261
Posted: 06:55pm 08 Sep 2020      

Likely has to do with the size of the circle/square you are using.  Remember, you are picking pixels - discrete integer values that there are only so many of to test.  If you are trying to do this with a small circle/square there are less possible values to test against.