// PI DAY CALCULATOR 2022 // Happy Pi Day everyone! This year, I am showcasing the Leibniz formula, which uses a mathematical alternating series of adding and subtracting fractions to get pi! If you want the program to run a bit faster, you can use Turbo Mode (shift+flag), or click "See Inside" and toggle the "Run without Screen Refresh" option after right-clicking the "Calculate Pi" block. The pen line behind the Scratch Cat is just a small visualization of how much precision of digits the calculator has achieved. The more precise the calculation is, the longer the pen line will be. Equation: 4 x (1 - 1/3 + 1/5 - 1/7 + 1/9...) Learn more at https://en.wikipedia.org/wiki/Leibniz_formula_for_π Check out last year's Pi Day project: https://scratch.mit.edu/projects/469621783/