Enter in a number of sides. The more sides you do, the closer your shape will be to a circle and the closer it will calculate to pi.
This project calculates pi by mesuring the radius and the perimeter (circumference on a circle). The more sides the closer the shape is to a circle making the pi estimate more accurate.