Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Rational approximations of common irrational numbers

created by jesler

(idea) by jesler (4.1 y) (print)   ?   (I like it!) 1 C! Sat Jun 23 2001 at 14:13:47

During my primary education, the number 22/7 surfaced frequently. In absence of a calculator or decent memory, we were told to use 22/7 as an approximation for pi. While moderately useful in simple geometric calculations, 22/7 is only accurate to two decimal places. This frustrated the hell out of me, and so, instead of listening to the teacher like i should've, i spent an entire mathematics class looking for a better rational approximation of pi. Admittedly, the method I used as a ten year-old was a tad rudimentary. I think i had just reached triple digits before giving up.

Flash forward 8 years and I finally bothered to code a c program for determining rational approximations of floats.


pi
22 / 7         (2)*
355 / 113      (6)
86953 / 27678  (7)

e
19 / 7         (2)
87 / 32        (3)
878 / 323      (4)

sqrt(2)
99 / 70        (4)
577 / 408      (5)
8119 / 5741    (7)

* decimal places correct

printable version
chaos

The real reason pi was never calculated to a high precision in ancient times 355/113 square root of 2 Similarity of fractals to natural objects
The Baire category theorem and cardinality pi is rational How to escape a sinking car e
22/7 The square root of -1 Ruby Babylonian square root algorithm
education method irrational number pi
Menstruation also known as menstruation Float Geometric
approximation rational number End of Days
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
What you are reading:
Egyptian rat screw
The agony of birds
Aristotle's Lost Library, Medieval Andalusia & Chinese Paper, or How Europe Learned to Learn Again and Why the Renaissance Happened When & Where It Did
All Things Kink
Arabic coffee
London Bridge
Paul Newman
Scarecrow's Secret
Aloha
How to kick ass at a job interview
Josie and the Pussycats
Happy Birthday From Planet Motherfucker
The name that lasted a million years
New Writeups
octillion369
Frost wyrm(person)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
octillion369
Death Knight(person)
XWiz
Are you hoping for a miracle?(review)
santo
The Host(review)
LostPsion
"Shut the Fuck Up" Theaters(idea)
Vanish
The line between normal and not(place)
Vanish
insanity(thing)
beatrice
You've been slowly taking me over for nearly a year, do you know that?(idea)
Berek
YouTube(thing)
shaogo
How to Pretend to Have a Job(idea)
hapax
Les Provinciales(review)
Everything 2 is brought to you by the letter C and The Everything Development Company