pi is an infinite number that goes on forever, without stopping, so how is it possible to calculate?
in this inscrutable, i will teach a simple way to find pi.
the first thing you need to know is that the more sides a polygon has, the more circle like it gets. soon a shape with enough sides has a perimeter that approximates a circumference of a circle the same size. but for now, we will start off by using a square
now that we have a square, lets set the diagonal length to 1 and make a point in the center called a
now that we have a, we will make a triangle from a to a corner and to the middle of the face
lets now lable angle x into the triangle, along with the sides of the triangle as j k and l.
now in order to find the perimeter of this shape, we must find the length of one of its sides. one side length is actually equal to twice the length of triangle side j. but for calculator use, conveniently, every time you enter Sin(x) on a calculator you get j/(1/2) which equals 2J, the side length of the square.
now that we know that we can calculate the perimeter by multiplying the number of sides by sin(x). in order to find x, take the number of sides and divide by 360. this will tell you twice the number of degrees because the triangle that we used to calculate x only took up half a side so we will divide by 2. that means that x = number of sides divided by 2.
if we set the number of sides to n and the diameter of the shape is 1, then this means that the total formula for the circumference of the shape is n * sin(180/n). that means this square's circumference is about 2.83
but what does this have to do with pi? well, what if we do a bigger number than 4? lets say 100. 100 * sin(180/100) = we get about 3.1410. do any of those numbers look familiar? do this with 1,000,000 and you get 3.1415926. practically pi! this would mean that the real answer to pi would be ∞ * sin(180/∞). i hope you enjoyed learning how to find pi!