MA/CS/EGR 537: Assignment 7 Answers/Grading

p. 204, 4 (a) 1 - x + x2 - x3 + x4 - x5

(b) (1 + c)-7 x6, where 0 < |c| < |x| and c and x have the same sign.

p. 213, 2 (a) P(3) = 1.78

(b) P'(3) = -0.40

(c) I(P) = 5.97

(d) P(4.5) = 4.5

(e) We can derive P(x) = D3 + Cx2 + Bx + A by solving the system of linear equations

which this gives us P(x) = -0.04x3 + 0.14x2 - .16x + 2.08.

p. 225, 2
f(1.5) = 2.83333, f(1.2) = 2.86667
Lagrange
(a) P2(x) = .4x2 - 1.2x + 3.8
P2(1.5) = 2.9
P2(1.2) = 2.936

(b) P3(x) = .8x3 + 4.8x2 - 8.8x + 7.8
P3(1.5) = 2.7
P3(1.2) = 2.7696

Hermite
(a) b0 = 3, b1 = -1, b2 = 1, b3 = -.5, b4 = .2, and b5 = -.08
P2(1.5) = 2.83
P2(1.2) = 2.8637824

(b) b0 = 4.5, b1 = -7, b2 = 8, b3 = -8, b4 = 4, b5 = -2, b6 = .8, and b7 = -.32
P3(1.5) = 2.82
P3(1.2) = 2.861013504

p. 235, 2
P1(x) = 5 - 2x
P2(x) = 5 - 2.5x + .5x2
P3(x) = 5 - 2.7x + .8x2 - .1x3
P4(x) = 5 - 2.718x + .8033x2 - .118x3 + .003x4

P1(2.5) = 0
P2(2.5) = 1.875
P3(2.5) = 1.6875
P4(2.5) = 1.6846875

p. 247, 1
T4(x) = 2x T3(x) - T2(x) = 8x4 - 8x2 + 1
T5(x) = 2x T4(x) - T3(x) = 16x5 - 20x2 + 5x

p. 248, 8
(a) Using Theorem 4.9,

The bound simplifies to 5.2083x10-3x0.84147 = 4.3826x10-3.

Using inspection (i.e., plotting the curves and looking at the differences), we can determine that the largest error occurs at the endpoints and is 9.93043x10-4.

Cheers,
Craig C. Douglas