
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Math 128A, Spring 2007
Homework 8 Solution
5.4.14 We approximate f ′′ (0.5) as 0.0800 and 0.0775 for h = 0.1 and h = 0.2,
respectively. To understand the roundoff error, note that we know all of
the data to within 0.00005. So,
f
′′ (x) ≈
f (x + h) − 2 f (x) + f (x − h)
h 2
f (x + h) − 2
f (x) +
f (x − h)
h 2
h 2
where each |i| < 0 .00005 and
f (x) is the value in the table. The roundoff
error term can be bounded ∣ ∣ ∣ ∣
h 2
h 2
yeilding 0.0200 and 0.0050 for h = 0.1 and h = 0.2, respectively.
8.7.3 (a) If we let Y 1 = Y , Y 2 = Y
′ and Y 3 = Y
′′ , then the system
′ 1
′ 2
′ 3
2
is equivalent to the original one.
(b) Letting Y 1 = Y and Y 2 = Y
′ ,
′ 1
′ 2
is equivalent to the original system.
8.7.4 If we let X 1 = x, X 2 = x ′ , Y 1 = y, Y 2 = y ′ , Z 1 = z, Z 2 = z ′ , and
R = (X 2 1
2 1
2 1
1 / 2 , then
′ 1 =^ X^2 X
′ 2 =^ −cX^1 /R
3
′ 1 =^ Y^2 Y^
′ 2 =^ −cY^1 /R
3
′ 1 =^ Z 2 Z
′ 2 =^ −cZ 1 /R
3
is equivalent to the original system.
Euler We get data
i x_i y_i
0 0.00 1.
1 0.05 0.
2 0.10 0.
3 0.15 0.
4 0.20 0.