ScratchData LogoScratchData
Back to Invisible_Factory's profile

Calculating pi using only fractions!

INInvisible_Factory•Created September 1, 2017
Calculating pi using only fractions!
1
1
35 views
View on Scratch

Instructions

One way to find pi is to follow this pattern - 4[(1/1) - (1/3) + (1/5) - (1/7) + (1/9) - (1/11) + (1/13) - (1/15) + (1/17)...] Basically, it bounces above pi and below pi. but the amount overlapped decreases over time during the pattern, so this is a demonstration of this pattern. pi real = actual pi pi = estimated pi using this pattern pi history list = history of pi calculations The only problem is that the calculation does not escalate quickly... so it takes a long time to calculate like 7 digits. I used turbo mode and at fraction 1/300000 (or 150000th item on the list) it is still in between 3.141586 and 3.141599, while pi is at 3.141592. But computers designed to calculate this use a different method, but that's for another day. Enjoy!

Description

Credit's to standupmaths video about this. You could technically find pi by paper and pencil but its very repetitive. So while it's possible to get to 1/19, you can run a program to show that it actually works. Wow.

Project Details

Project ID172877981
CreatedSeptember 1, 2017
Last ModifiedSeptember 10, 2017
SharedSeptember 9, 2017
Visibilityvisible
CommentsAllowed