The exercise examines various choices that can be made for the approximate solution using the bisection method. Assume that the subinterval ( i , i ) has just been calculated, and the goal is to now...


The exercise examines various choices that can be made for the approximate solution using the bisection method. Assume that the subinterval (

i
,


i
) has just been calculated, and the goal is to now determine what point


i

should be selected from this subinterval as the approximation for the solution
.


(a) Whatever choice is made, the error is


i


. Sketch this as a function of
, for


i


 ≤


i
. Explain why the minimum error occurs when


i




i

=


i




i
, and from this conclude that


i

= (

i

+


i
)/2. In other words, one should select the midpoint of the subinterval.


(b) Suppose one instead uses the relative error (

i


)/. This requires a nonzero solution, so it is assumed here that 0


i



i
. By sketching (
=

)/, for


i


 ≤


i
, explain why the minimum error occurs when


i

= 2

i



i
/(

i

+


i
).


(c) Does it make much difference which choice is made for


i
? In answering this, assume that the stopping condition for the loop in Table 2.1 is the same irrespective of the choice for


i
.



Dec 30, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here