This project demonstrates how you can estimate π by drawing a polygon, and how the number of sides affect the accuracy. ☛ Use the slider to change the number of sides. The value of "circumference" is the circumference of the white circle. The red circle is a circle with a circumference equal to the polygon's perimeter, to visualize how accurate the estimation is.
✦ ✦ ✦ Notes ✦ ✦ ✦ Note how the values of "estimated π" and "perimeter" become closer to "π" and "circumference" as you increase the number of sides. At what number of sides is the number accurate when rounded to one decimal? What about two, three and four decimals? ✦ ✦ ✦ Credits ✦ ✦ ✦ Inspired by "Estimate Pi by drawing a 360-sided Polygon" by @Scratch-Minion: https://scratch.mit.edu/projects/1145172667 Seeing that project, I immediately felt the urge to find out how the number of sides relate to the precision of the estimate. @Scratch-Minion's project elegantly estimates π by letting a turtle move a certain distance and then turn 1 degree to the right, and then repeating this 360 times, thereby drawing a 360-sided polygon, which is a precise enough approximation of a circle to get a In my project, on the other hand, I focus