CS-381 -- Lab 1: Floating Point Errors
Fall Quarter 1999
Electrical Engineering and Computer Science Department
The purpose of this lab assignment is to expose a number of potential error sources related to numerical computation.
The number represented by is the ratio of the circumference of a circle to its diameter. The first known notion of its value dates back to the Egyptian Rhind Papyrus. Since then, numerous methods have been proposed for calculating . In the seventeenth century, James Gregory developed the following equation to approximate .
= 4 - 4/3 + 4/5 - 4/7 + ...
Those interested in reading more about may find that these links will keep them busy for days. Please don't forget to do your assignment though.
In this lab, you are to do the following:
Lab report (due 4:30pm Tuesday, September 21, 1999)
The lab report should be self-contained. That is, it should be possible for someone to understand what you did and why without seeing anything other than your report. Your report should include:
As with any report you submit, correct spelling and grammar are required. In addition, your report should be submitted electronically following the Electronic Submission Guidelines. (You may wish to consult the sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost. It may be wise to keep a diskette backup as well.
If you have any questions, consult the instructor.
This page was created by Dr. Christopher C. Taylor, copyright 1999.