Answer
Even for an input value of 2, the answer is a little bit off. And as N gets
larger, the error gets larger. But even for rather large values of N (such as
10,000), the error's not as bad as the table on page 258 of the text would lead
you to believe. Evidently, this computer has better REAL arithmetic than the
machines used by the authors.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu