From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 25 Nov 91 18:18:17 GMT From: att!cbnewsl!willett@ucbvax.Berkeley.EDU (david.c.willett) Subject: Re: Interesting applications of rational arithmetic needed Message-ID: <1991Nov25.181817.4867@cbnewsl.cb.att.com> List-Id: In article <1991Nov24.224318.6174@milton.u.washington.edu>, mfeldman@milton.u.w ashington.edu (Michael Feldman) writes: > Dear colleagues: > > The canonical example of an ADT package (in Ada and elsewhere) is > rational arithmetic. Well and good. But can someone out there point > me to some interesting and useful applications of rationals? I'm trying to > cook up interesting student projects, etc. The application should be > palatable to a freshman or sophomore (I can boil it down if necessary). > > Thanks! > > Mike Feldman I'm not a professor, but I've always thought that an interesting application using only the rational numbers is calendars/schedulers. If I remember correctly, one of the mathematicians who devised the Gregorian Calendar obsereved that "The year should contain an integral number of days." The same observation holds for hours, minutes, and seconds.(in everyday use) Dave Willett -- AT&T Federal Systems ** Opinions expressed above are my own **