ScratchData LogoScratchData
Back to bfoley's profile

PIDay - Darts

BFbfoley•Created March 9, 2019
PIDay - Darts
0
0
42 views
View on Scratch

Instructions

Darts are thrown at the square randomly. What are the odds that the dart goes in the circle? (hint 3.14)

Description

Made for PiDay 2019. Try it in turbo mode and go up to 100,000 darts (go Inside and select turbo in the Edit menu) I cant get it to converge on an accurate value for Pi. I think it is because of rounding in the randomness and in the formula to see if it is or outside the square. Let me know if you see a solution.

Project Details

Project ID292538006
CreatedMarch 9, 2019
Last ModifiedMarch 9, 2019
SharedMarch 9, 2019
Visibilityvisible
CommentsAllowed