This is my 4th attempt on making a project that calculates pi. The first 3 didn’t turn out well, but this one works just fine. In the “Calculator” sprite, there is a block which gives a value to the variable “n”. Higher this variable is, more accurate the calculation is, and more time it takes to calculate pi.
I learned the formula to calculate pi from my teachers, and I coded it in Scratch!