Required Text
Applied Numerical Methods with MATLAB
by Steven C. Chapra
McGraw Hill
book website
Errata
ErrataAdditional errata
- On pg. 88 in figure 5.4, the third line of code is x=linspace(xmin, xmax, ns) and should be x=linspace(xmin, xmax, ns+1) to satisfy the definition of ns. Note that this is an error in the definition of linspace from MATLAB.
LINSPACE(X1, X2) generates a row vector of 100 linearly equally spaced points between X1 and X2
yet
>> x = linspace(1,2);
>> size(x)
ans =
1 100
- On pg. 166, the final solution for example 9.2 states that {d}={3;-2.5;7.00003}. It should be {x}={3;-2.5;7.00003}
- On pgs 268-9, equations 15.24 & 15.25 should have a '+' instead of an '-' on the left hand side of the equations.