Aproximating Pi via the Monte Carlo Method How close can you get? How many attempts did you use to get the closest? Actually quite recently ago, we took a quick at the monte carlo method and how you can aproximate pi in math class, I could this could be quite fun (and well i already had written some code in python for it which I just had to convert) to make into a scratch project for pi day! If you want to see an explanation on how it works just click see inside and look at the comment in sprite1 If you want to use higher values for the amount of attempts i would recommend setting the block monte carlo to run without screen refresh.
Happy pi day! I guess I should give some credits to my maths teacher for showing me this method. I have hidden a few pi related easter eggs in the code, can you find them?