Monte Carlo estimation of PI


Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6546
Posted: 09:47pm 08 Sep 2020      

IF you want to show the kids Pi to lots of places:

https://www.thebackshed.com/forum/ViewTopic.php?TID=12159&PID=151133#151133#151133

how many digits? 100
Started at 07:39:44
11.043mS so far
26.692mS so far
starting atan52()
atan52() step 2
atan52() step 3
46.259mS so far

pi = 3.1415926535 8979323846 2643383279 5028841971 6939937510      50
      5820974944 5923078164 0628620899 8628034825 3421170679     100

Total computation time:   48 mS
Time to format and print: 4 mS at 07:39:45

>



Jim