October 26, 1999; Ralph E. Griswold
This file is in the public domain.
This program produces successive rational approximations to a real
number.
The options supported are:
-n r real number to be approximated, default .6180339887498948482
(see below)
-l i limit on number of approximations, default 100 (unlikely to
be reached).
____________________________________________________________
This program was translated from a C program by Gregg Townsend. His
documentation includes the following remarks.
rational mode based on a calculator algorithm posted by:
Joseph D. Rudmin (duke!dukempd!jdr)
Duke University Physics Dept.
Aug 19, 1987
n.b. for an interesting sequence try "fract .6180339887498948482".
Do you know why? (Hint: "Leonardo of Pisa").
Source code |
Program Library Page |
Icon Home Page