Two irrational numbers, π and e, are probably the two most well known irrational numbers with rich history.

computer science

Description

Two irrational numbers, π and e, are probably the two most well known irrational numbers with rich history. π is commonly defined as the ratio of a circle's circumference C to its diameter d, π = C/r, a constant, regardless of the circle's size. Various approximations of π have been given since antiquity. According to Wiki,


Approximate fractions include (in order of increasing accuracy) are: 22/7, 33/106, 355/113, 52163/16604, 103993/33102, and 245850922/78256779. 


Around 250 BC the Greek mathematician Archimedes devised an amazing polygonal algorithm (which dominated for over 1,000 years) for calculating the value of π. Archimedes computed upper and lower bounds of π by drawing a regular hexagon inside and outside a circle, and successively doubling the number of sides until he reached a 96- sided regular polygon. By calculating the perimeters of these polygons, he proved that


Related Questions in computer science category