

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


MATH 441/541 - Numerical Analysis Second Meeting: Computer Arithmetic Continued & Root Finding Algorithms Thursday, August 30 th, 2007
with double precision-floating point numbers using 64 bit representation: 1 bit for sign, s 11 bits for exponent, c 52 bits for fraction, f (a) The number of numbers we can represent exactly. (b) The range of the numbers we can represent. (c) Plotting computer numbers (to see the meshing pattern). (d) Determining the pattern: i. Increasing/decreasing number of bits for c =⇒? ii. Increasing/decreasing number of bits for f =⇒? (e) Definitions: i. Underflow ii. Overflow iii. Machine Epsilon, iv. Unit Roundoff, u
OBJECTIVE: Given the continuous function f on the interval [a, b] where f (a) and f (b) have opposite signs, find a solution to f (x) = 0.
INPUT: endpoints a and b; tolerance TOL; maximum number of iterations N (and f ).
OUTPUT: approximate solution p or message of failure.