

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!


Jim Lambers Math 105A Summer Session I 2003- Homework Assignment 1 Hints
Each homework assignment from the textbook will be accompanied by a handout like this one, that contains hints about the exercises. As I receive questions on the assignment, this handout may be updated with additional information. When this occurs, this will be indicated on the Updates page of the site,
http://math.uci.edu/∼jlambers/math105a/updates.html
which you should be checking frequently.
(a) (b) (c) (d) To find the required upper bound, you need to determine how large f (3)(x) can get on the interval [0, 1].
You do not use MATLAB to compute the appropriate value of n. You need to determine the smallest value of n so that |Rn(x)| < 10 −^6 for x in the interval [0, 0 .5].
(a) (b) (c)
(b) (c) (d)
1 · 2 −^1 + 1 · 2 −^7 = 0.5 + 0.0078125 = 0. 5078125.
Therefore, if the sign bit s is 0 and the exponent c is 01111111111 in binary, or 1023 in decimal, then the floating point number whose bits are
0 01111111111 1000001000000000000000000000000000000000000000000000
is (−1)s 2 c−^1023 (1 + f ) = (−1)^020 (1 + 0.5078125) = 1. 5078125.
(b)
(b) (c) (d)