ScratchData LogoScratchData
Back to excelguru's profile

Approximating pi

EXexcelguru•Created November 18, 2018
Approximating pi
0
0
13 views
View on Scratch

Instructions

Use turbo mode to go faster. Basically, the method drops a bunch of dots in a square and checks how many are in a circle, and takes the ratio of the total number of dots to the number inside the circle, approximating 4/pi, then using that to compute pi. It doesn't actually do that good a job, but in theory if we do it enough (assuming I didn't make a mistake) we can approximate pi.

Description

Pi, in case you're curious, is not 3.11 This approximation is just very slow (and quite possibly flawed)

Project Details

Project ID263061407
CreatedNovember 18, 2018
Last ModifiedNovember 18, 2018
SharedNovember 18, 2018
Visibilityvisible
CommentsAllowed