Numerical Mathematics and Computing
Sixth Edition
Ward Cheney & David Kincaid
Brooks/Cole: Engage Learning (c) 2008
Errata
CHAPTER 1

Page, 29, Line 12 (reword):
If we stop after $n$ terms, at $1/(2n1)!$, then the error does not
exceed $1/(2n+2)!$, which is the first neglected term.

Page, 29, End Solution Exp2.1.8 (add):
[The actual error after five terms is $2.5\; \times \; 10^\{8\}$.]
CHAPTER 2

NMC7: Consider changing Marc32 to Marc64 with IEEE floatingpoint standard arithmetic thoughout.

Page 48, Example 2, Line 1:
Omit the first occurrence of "singleprecision" to read:
"Determine the machine representation of the decimal number .."

Page 50, 1st Displayed Eqn (Line +9), Last inequality should read:
$125\; \le \; m\; \le \; 128$

[
NMC7 Note:
(Page 51, Line 3):
The IEEE Standard does not define the terms
{&bf machine epsilon} $(\&epsilon)$ and {&bf unit roundoff error} $(u)$.
Frequently, they are used interchangeably or
some authors may define them as being different.
Machine epsilon is used to study the effect of
rounding errors because the actual errors of machine arithmetic are
extremely complicated. Program libraries may provide
precomputed values for these and other standard numerical quantites.
Often students are assigned the textbook exercise to compute
an approximate value for machine epsilon.
It is done in the sense of the spacing of the floatingpoint
numbers at 1 rather than in the sense of the unit roundoff error.
The following psuedocode produces an approximation to machine
epsilon (within a factor of 2)
eps = 1.0
while (1.0 + eps > 1.0)
eps = eps/2.0
end
eps = 2.0*eps
As with any computational results,
it depends on the particular
computer platform used as well as the programming language,
the floatingpoint format
(float, double, long double, etc.), and the runtime library.
]

Page 70, Problem 2.2.24(a):
omit "nn" should read $...\&cos;\; \xbd\; (x+y)$

Page 74, Computer Problem 2.2.19:
Change sign of the last term in the demoninator from plus to minus:
28.17694u^6
CHAPTER 3

Page 87, Problem 3.1.21, Lines 12:
Replace $a\; \ge \; 2^m$ with $a\; =\; 2^m$ and
replace $m\; \le \; 0$ with $n\; \ge \; 24m$

Page 120, Problem 3.3.10, Line 1, Rewrite to read:
Establish this. Explore the conjecture that the standard form may be more
numerically stable and may have better achievable accuracy.
CHAPTER 4

Page 127, Line 9:
Omit $\backslash ell\_5$ to read:
...$\backslash ell\_3(x)$, and $\backslash ell\_4(x)$.

Page 140, Line 3 above Figure 4.4: Should read:
... as shown in Figure 4.3.

Page 144, Line 1 above pseudocode:
Replace subscript $0$ with subscript $n$ to read:
... to evaluate $P^n\_n(t)$ when ...

Page 144, Last line in pseudocode:
Replace subscript $0$ with subscript $n$ to read:
return $S\_\{n\}$

Page 147, Problem 4.1.9b:
Change Hint to read:
Use polynomial starting with 93 and involving factors $(x4)$.

Page 154, Line +2 in Solution after FIGURE 4.6:
Replace $(4,5)$ with $(4,6)$ to read:
... we added the points $(3,2)$, $(4,6)$, and $(1,12)$ ...

Page 156, Figure 4.9:
FIGURE 4.9,
Label should read: Chebyhev nodes of $T\_9$.

Page 156, Figure 4.9:
Change xaxis from 5 to 5 to 1 to 1.

Page 156, Line 1, Should read:
The Chebyshev nodes of $T\_9$ are obtained by taking equallyspaced
points
on the unit circle
and projecting them onto the horizontal axis, as in Figure 4.9.

[
NMC7 Note:
Page 156, Figure 4.9:
Modify Figure 4.9 as shown below.
Leave center points above 0 and dashed line as is.
Move four points on right side of the semicircle so that the
first four are equally spaced (20 degrees apart)
and the last one is half the distance (10 degrees),
with no point at the right end of the xaxis.
Repeat for the four points on the left side of the semicircle.
Dashed lines and points on the xaxis are to be moved relative
to the above movement of points.
[
NMC7 Note:
Nine points on the semicircle are
not all evenly spaced but at
10, 30, 50, 70, 90, 110, 130, 150, 170 degress (counterclockwise).
The points on the unit circle are
$(\backslash cos\; \theta ,\; \backslash sin\; \theta )$ with $\theta \; =\; (2i+1)\pi \; /18$
and $i=0,1,2,\backslash ldots,8$.]

Page 167, 4th line from bottom:
Replace $h^5$ by $h^6$

Page 169,
Algorithm 2, Step 4:
Replace $0\; \le \; i$ by $1\; \le \; i$

Page 173, Line 5:
Replace the superscript (v) by the superscript (5).

Page 175, Line 4:
Replace the superscript (v) by the superscript (5).
CHAPTER 5

Page 198, first and third displayed equations:
Replace h by n (four times).
$...\approx \; (\{1\}/\{2n\})\backslash left[\; ...$
$C\_i=\backslash left\backslash \{\backslash begin\{aligned\}\; 1/(2n)....\backslash \backslash \; 1/n,\; ...\backslash \backslash \; 1/(2n)\; \backslash end\{aligned\}$

Page 199, Summary (2), last line:
where the error is $(\{1\}/\{12\})(ba)h^2f\text{'}\text{'}(\backslash xi)$

Page 201, Problem 5.2.17(d):
Minus sign should be plus sign to read:
$I(h)\backslash approx\; h\; f(a)\; +\; \xbd\; h^2\; f\text{'}(a)$

Page 210, first table: $\backslash phi$ should be $\backslash varphi$.
CHAPTER 6

Page 217, second displayed equation, insert missing "1 =" to read:
$$\int_0^1 dx = 1 = A + B

Page 218, Line 9:
Linear mapping is missing an x.
Should read: $y\; =\; \xbd\; (ba)x\; +\; \xbd\; (a\; +\; b)$

Page 219, first displayed equation, replace limits of integral 1 to 1
with 0 to 1

Page 219,
first three displayed equations, replace ds with dx.

Page 234, Example 3,
second = should be \approx

Page 235, THEOREM 2, WEIGHTED GAUSSIAN QUADRATURE THEOREM,
last displayed equation replace first $l\_i$ with script $ell\_i$
to match its second appearance in righthand integral.
CHAPTER 7

Page 258, Computer Problem 7:
Modify to read:
7. (Continuation) A common electrical engineering problem is to calculate
currents in an electric circuit. For example, suppose a circuit
leads to this complex system:
.... [leave linear system as is]
Letting $V\_1=100$ volts, solve these two cases:
a. ... [leave as is]
b. ... [leave as is]
Using the complex arithmetric version of {\sl Naive\_Gauss},
solve the system for each case.
[Omit rest of problem statement as well as the figure.]

Page 272, Line 8:
Multiplier should be $a\_\{\backslash ell\_i,\; j\}/a\_\{\backslash ell\_k,\; k)$
in both equations.

Page 274, Problem 13d:
Add symbol "a" indicating answer in back of book.

Page 291, Problem 22:
Last entry in top diagonal should be "1" not "1"
CHAPTER 8

Page 333, line 6:
Sentence not complete:
add "is"

Page 340, Problem 10, last line of coefficient matrix:
Should be 4/3 6 12

Page 341, Problem 11, last line of righthandside matrix:
Should be 2.5

Page 369, Computer Problem 6b: should read
$[0.64966116,\; 0.74822116,\; 0]^T$
CHAPTER 9

Page 382, Problem 9.1.9:
Should read: Hint: Use Problem 7 and assume equally spaced knots.

Page 389, Example 2, Solution, Line 3:
Should read: $u\_1=2(h\_0+h\_1)=4$

Page 395, Example 4, line 2:
$\theta \; =\; i(\pi \; /12)$ should be $\theta \; =\; i(\pi \; /14)$
CHAPTER 9

Page 446, Probelm 10.2.12, Change to read:
"... if ten decimal places of accuracy , $10^\{10\}$ are required.
Assume that you use a computer with adaquate precision, and
assume that the fourthorder RungeKutta method involves truncation
errors of maginitude $100h^5$.
CHAPTER 10

Page 445, Problem 10.2.6:
Change $x(1)=0$ to $x(1)=1$.
CHAPTER 13

Page 536, pseudocode Coarse_Check, Line 9, should be:
per = 100*real(m)/real(i)
CHAPTER 14

Page 571, Last Displayed Equation:
($1\; \le \; i\; \le \; n1$)
CHAPTER 16

Page 637, Problem 15d:
Add symbol "a" indicating answer in back of book.
APPENDIX

Page 715, Lines 8, 17:
Entry (3,1) should read ⅓ not 8 (twice)
ANSWERS

Page 724, Solution Pb 1.1.8c:
Replace 10 with 16, to read:
$p\; <\; z^3(6\; +\; z^4(9\; +\; z^8(3\; \; z^\{16\})))$

Page 727, Solution Pb 3.1.21:
Replace $n\; \ge \; 23$ with $n\; \ge \; 24m$

Page 729, Solution Pb. 4.1.9a:
Change boxes in the difference table from
around numbers in second downward diagonal from the top
(9, 14, 7, 1) to
the second upward diagonal from the bottom
(93, 35, 7, 1)

Page 729, Solution Pb. 4.1.9b:
Change to read: f(4.2)\approx 104.488

Page 731, Solution CPb 5.3.6:
Insert minus signs to read:
$2/9\; =\; 0.22222...$

Page 732, Computer Problems 7.1.7, should read:
7a.
$0.2752+0.9174i$, $5.43120.7706i$, $3.33940.2018i$
7b.
$1.19270.6422i$, $0.2018+3.3394i$, $1.13762.4587i$

Page 733, Solution CPb 8.1.2a:
In $M$ element (4,2) change 0 to 6.

Page 734, Solution Pb 9.1.9:
Replace with: Knots $\backslash approx\; 1.57\; \times \; 10^\{10\}$

Page 736, Soluton Pb 10.2.12:
Replace with only: $h\; \le \; 10^\{3\}$.

Page 744, Problem B, 4g:
Should be $(63.72664)\_8$
BIBLIOGRAPHY

Page 753, column 1:
van der Vorst should be lower case "v"
COVERS

Inside back cover (left side), integral formulas.
First $(a\; \ne \; 1)$ should be $(a\; \&neq;\; 1)$
and other two $(a\; \ne \; 0)$ should be $(a\; \ne \; 0)$

Inside back cover (right side), line 5:
smaller parens for $(x^2\; <\; \pi ^2/4)$
Student Solutions Manual for Numerical Mathematics and Computing
Sixth Edition
Ward Cheney \& David Kincaid
Brooks/Cole: Engage Learning (c) 2008
Errata

Page 2, Solution Pb 1.1.8c:
Replace 10 with 16, to read:
$p\; <\; z^3(6\; +\; z^4(9\; +\; z^8(3\; \; z^\{16\})))$

Page 22, Solution 3.1.21, Line 12:
Should read:
Now $\backslash epsilon\; =\; 2^\{24+m\}$ so $\backslash log\; 2\backslash epsilon\; =\; (24+m)\backslash log\; 2$
and $n\; \ge \; 24\; \; m$.

Page 36, Solution 4.1.9:
Change boxes in the difference table from
around numbers in second downward diagonal from the top
(9, 14, 7, 1) to
the second upward diagonal from the bottom
(93, 35, 7, 1)

Page 37, Solution 4.1.9b:
Change to read:
$f(x)\; \backslash approx\; p(x)\; =\; 93\; +\; 35(x4)+7(x4)(x2)+(x4)(x2)(x1)$,
$f(4.2)\; \backslash approx\; p(4.2)\backslash approx\; 93\; +\; 35(0.2)+7(0.2)(2.2)+(0.2)(2.2)(3.2)\; =104.488$,
We obtain the same polynomial using either the top diagonal downward
or the second diagonal upward! Notice that
$1+x(x)+3(x\_(x1)+1(x)(x1)(x2)=1+7x+x^3$ and
$93\; +\; 35(x4)+7(x4)(x2)+(x4)(x2)(x1)=1+7x+x^3$.

Page 38, Solution 4.1.18, Line 1:
Should read:
$p(x)\; =\; 2\; +\; x(1\; +\; (x1)(1\; +\; (x3)(2\; +\; (x2)(1))))$

Page 55, Solution CPb 5.3.6:
$2/9\; =\; 0.22222...$

Page 67, Computer Problems 7.1.7, should read:
7a.
$0.2752+0.9174i$, $5.43120.7706i$, $3.33940.2018i$
7b.
$1.19270.6422i$, $0.2018+3.3394i$, $1.13762.4587i$
Instructor Solutions Manual for Numerical Mathematics and Computing
Sixth Edition
Ward Cheney & David Kincaid
Brooks/Cole: Engage Learning (c) 2008
Errata

Page 2, Solution Pb 1.1.8c:
Replace 10 with 16, to read:
$p\; <\; z^3(6\; +\; z^4(9\; +\; z^8(3\; \; z^\{16\})))$

Pb 1.2.17, change to read:
After $n$ terms, the first neglected term is
$(1)^\{n\}\; x^\{2n\}/(2n!)$ and $x\; <\; 1/2$.

Cp 1.1.17, last displayed equation should read:
$(1)(4\pi \; )\; =\; 4\backslash arctan\; \u2155\; \; \backslash arctan\; \&frac\{1\}\{239\}$

Cp 1.2.54, change to read:
We have
$\pi \; =48\backslash left(\; (\{1\}/\{15\})+\; (\{1\}/\{63\})\; +\; (\{1\}/\{143\})\; +\; (\{1\}/\{255\})+\backslash cdots\; (\{1\}/\{159999\})\; \backslash right)$.
The convergence of this series is very slow requiring an extremely
large number of terms! For example, $10^8$ terms gives a relative error of
$10^7$.` This is no a practial way of computing $\pi $!

Pb 2.1.2d: line 3 should read: ...=(001\ 111\ 010)_2

Pb 3.1.10:
This problem involves the comparison of two different forms for the
secant method, which are equivalent in exact arithmetic.
This conjecture was shown to be
somewhat confirmed by numerical tests, but the difference
was not significant enough to pay much attention to it.

Pb 3.2.17, line 1:
replace "($n+1$term)" with "(general term)

Page 55, Solution 3.1.21, Line 12:
Should read:
Now $\backslash epsilon\; =\; 2^\{24+m\}$ so $\backslash log\; 2\backslash epsilon\; =\; (24+m)\backslash log\; 2$
and $n\; \ge \; 24\; \; m$.

Page 79, Solution 4.1.9:
Change boxes in the difference table from
around numbers in second downward diagonal from the top
(9, 14, 7, 1) to
the second upward diagonal from the bottom
(93, 35, 7, 1)

Page 79, Solution 4.1.9b:
Change to read:
$f(x)\; \backslash approx\; p(x)\; =\; 93\; +\; 35(x4)+7(x4)(x2)+(x4)(x2)(x1)$,
$f(4.2)\; \backslash approx\; p(4.2)\backslash approx\; 93\; +\; 35(0.2)+7(0.2)(2.2)+(0.2)(2.2)(3.2)\; =104.488$,
We obtain the same polynomial using either the top diagonal downward
or the second diagonal upward! Notice that
$1+8(x)+3(x\_(x1)+1(x)(x1)(x2)=1+7x+x^3$ and
$93\; +\; 35(x4)+7(x4)(x2)+(x4)(x2)(x1)=1+7x+x^3$.

Page 80, Solution 4.1.18, Line 1:
Should read:
$p(x)\; =\; 2\; +\; x(1\; +\; (x1)(1\; +\; (x3)(2\; +\; (x2)(1))))$

Page, 91, Solution 3.3.10, add to end:
The standard form is more numerically stable and has a better
achievable accuracy. This may be confirmed by numerical experiments, but
the difference between these two forms may not be significant
enough for paying much attention to it!

Page 123, Solution CPb 5.3.6:
$2/9\; =\; 0.22222...$

Page 142, Computer Problems 7.1.7, should read:
7a.
$0.2752+0.9174i$, $5.43120.7706i$, $3.33940.2018i$
7b.
$1.19270.6422i$, $0.2018+3.3394i$, $1.13762.4587i$
Acknowledgements:
We welcome comments and suggestions concerning either the textbook or solution
manuals. Send email to
Ward Cheney
or
David Kincaid .
We are grateful to the following individuals and others who have
send us email concerning typos and errors in the textbook or
solution manuals:
Bernard Bialecki,
Fatih Celiker,
Debao Chen,
Lloyd Clark,
Roger Crawfis,
Mohamad El Gharamti,
John Eisenmenger,
Richard Fa Wai,
Scott Hency,
Jason S. Howell,
Harunrashid Muhammad,
Victoria Interrante,
Andrew Knyazev,
Jacob Y Kazakia,
Daniel Kopelove,
Kevin Lee,
Stacy Long,
Igor Malkiman,
Peter McNamara,
Yuan Xu,