Monte Carlo estimation of PI


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5991
Posted: 10:47am 08 Sep 2020      

Confirm

MMbasic DOS version get's accurate up to 3 decimal places, not more.
The DOS verision uses 64 bit variables, so should be capable of higher accuracy than 3 decimal places.

Maybe it is the randomizer. If your resolution on the random numbers is not high enought you keep testing the same 'pixels' in your circle.

Interesting...
Edited 2020-09-08 20:50 by Volhout