Nle 03 Bisection Example
Nle 03 Bisection Example
Solution
From the physics of the problem, the ball would be submerged
between x 0 and x 2 R ,
where
R radius of the ball,
that is
0 x 2R
0 x 2(0.055)
0 x 0.11
Let us assume
x 0, xu 0.11
Check if the function changes sign between x and xu .
f ( x ) f (0) (0) 3 0.165(0) 2 3.993 10 4 3.993 10 4
f ( xu ) f (0.11) (0.11) 3 0.165(0.11) 2 3.993 10 4 2.662 10 4
Hence
f ( x ) f ( xm ) f (0) f (0.055) 3.993 10 4 6.655 10 4 0
Iteration 2
f x f x m f 0.055 f 0.0825 6.655 10 5 1.622 10 4 0
x xu
xm
2
0.055 0.0825
2
0.06875
f ( xm ) f (0.06875) (0.06875) 3 0.165(0.06875) 2 3.993 10 4 5.563 10 5
So
m2