fl[x] = ±(1+frac) * 2^(exp)
for normalized floating point numbers with the leading "1" not being stored and the "frac" integer is stored as a 23 bit integer
0 < frac2,32,q < 2^(23)-1,
2^(23) = 8,388,608
f(x) = e^(-x/3) - 0.05471*x
| k | kfe | a_k | b_k | d_k | f_k | f_k' | x_{k+1} | |x_{k+1}-x_k| |
| 0 | ||||||||
| ... | ... |
until |x_{k+1}-x_k| < 0.5e-2.
f'(x)=-e^(-x/3)/3-0.5471, x_{k+1} = x_k - f_k/f_k';
| k | kfe | a_k | b_k | d_k | f_k | f_k' | x_{k+1} | |x_{k+1}-x_k| |
| 0 | 3 | 2.5* | 2.9* | 2.9 | 0.2217 | -0.1815 | 4.121 | 1.221 |
| 1 | 5 | 4.121? | ? | 4.121 | 2.772e-2 | -0.1391 | 4.320 | 0.1990 |
| 2 | 7 | 4.320? | ? | 4.320 | 5.806e-4 | -0.1377 | 4.324 | 0.4000e-2 |
Stopping since tol=0.5e-2 is satisfied.
x = 1.984/ln(x)
| k | 0 | 1 | 2 | 3 |
| x_k |
gi(x)=exp(1.984/x), gi'(x) = -1.984*exp(1.984/x)/x^2 and |gi'(2.4)|=|-0.7873|<1,
| k | 0 | 1 | 2 | 3 |
| x_k | 2.4 | 2.286 | 2.382 | 2.300 |
In the following older problems prior to Fall 1999,
use "CHOPPING EXAM PRECISION":
The answers are calculated for chopping to 4 significant (4C)
digits since the problems are from a time when chopping was used.
Note: Maple comments are not part of these sample exam problems,
but were added afterward in the editing stage to aid in analyzing
the problems.
Also plot the polynomial using the plot function of Matlab, on [0,4].