An INTRODUCTION to NUMERICAL METHODS

A MATLAB Approach

Errata (October 1, 2003)

Errata list (First Edition):

 Page# Line #   ---> Incorrect * Means from the bottom Correct 11 last The general form of an if loop is The general form of an if statement is 83 9 Algorithm: [.2cm] Algorithm: 83 Last ...step we have [.2cm] ...step we have 83 4* ... of A below a11(1) ... of A below 112 2 ... and from 3 the multiples  of ... ... and from 3 the multiples  of ... 137 3* P3(x)=...+(x-2)(x-4)(x-6) P3(x)=...-(x-2)(x-4)(x-6) 138 Table 5.4 146 11 ... b=2,f(10)(x)=-cosx and |f(10)(x)=-cosx|1 ...b=2,f(11)(x)=sinx and |f(11)(x)=sinx|1 200 Figure 7.8 caption Plot ... in [0,3] Plot ...in [0,4.4] 209 14* 209 11* 211 8* The MATLAB function f1 used … function f=f1(x) The MATLAB function f2 used … function f=f2(x) 220 Table 8.4 caption The composite trapezoidal rule for f(x)=2x+1 with n=5. The trapezoidal rule for f(x)=2x+1. 237 13* 238 2* Last an nth degree...pn(x) an (n-1)th degree...pn(z) 239 1 n+1 sample points xi ... n sample points zi ... 239 6 n+1 points ... n points ... 239 4* 241 2* 268 3* Y10=0.36785409848 Y10=0.3685409848 299 5* 320 9 320 10 we set we set 349 5* 402 7* Seidel………..4.7 Seidel………..4.5.2 411 3 0.1.003353 1.003353 412 6 5. 5300966 6. 5300966 415 3* 2.0 | 23.85002 2.0 | 13.85002 419 Last 1.0 | -28.56 1.0 | -34.08 423 17 (d) ...v(1)=(-1,0,1) (d) ...v(1)=(1,2,1)