Professional Documents
Culture Documents
CH 5 HW
CH 5 HW
Answer:
(a) A plot indicates that a single real root occurs at about x = 0.42.
0
-1 0 1
-4
-8
0 1
xr 0.5
2
1 0
a 100% 100%
1 0
The process can be repeated until the approximate error falls below 10%. As summarized
below, this occurs after 5 iterations yielding a root estimate of 0.40625.
Find the positive square root of 18 using the false-position method to within s 0.5% . Employ
initial guesses of xl 4 and xu 5 .
Answer:
The square root of 18 can be set up as a roots problem by determining the positive root of the
function
f ( x) x 2 18 0
7(4 5)
xr 5 4.22222
27
Therefore, the root is in the second interval and the lower guess is redefined as xl = 4.22222.
The second iteration is
7(4.22222 5)
xr 4.22222 4.24096
0.17284 7
4.24096 4.22222
a 100% 0.442%
4.24096
Thus, the computation can be stopped after just two iterations because 0.442% < 0.5%. Note
that the true value is 4.2426. The technique converges so quickly because the function is very
close to being a straight line in the interval between the guesses as in the plot of the function
shown below.