2. For more details on this topic
Go to http://numericalmethods.eng.usf.edu
Click on Keyword
Click on False-Position Method of Solving a
Nonlinear Equation
3. You are free
to Share – to copy, distribute, display and
perform the work
to Remix – to make derivative works
4. Under the following conditions
Attribution — You must attribute the work in
the manner specified by the author or licensor
(but not in any way that suggests that they
endorse you or your use of the work).
Noncommercial — You may not use this work
for commercial purposes.
Share Alike — If you alter, transform, or build
upon this work, you may distribute the resulting
work only under the same or similar license to
this one.
5. Chapter 03.06: False-Position
Method of Solving a Nonlinear
Equation
Major: All Engineering Majors
Authors: Duc Nguyen
http://numericalmethods.eng.usf.edu
Numerical Methods for STEM undergraduates
http://numericalmethods.eng.usf.edu 5
1/26/2023
Lecture # 1
7. http://numericalmethods.eng.usf.edu
7
False-Position Method
Based on two similar triangles, shown in Figure 1,
one gets:
U
r
U
L
r
L
x
x
x
f
x
x
x
f
)
(
)
(
0
;
0
)
(
0
;
0
)
(
U
r
U
L
r
L
x
x
x
f
x
x
x
f
The signs for both sides of Eq. (4) is consistent, since:
(4)
8. http://numericalmethods.eng.usf.edu
8
L
U
r
U
L
r x
f
x
x
x
f
x
x
U
L
r
U
L
L
U x
f
x
f
x
x
f
x
x
f
x
From Eq. (4), one obtains
The above equation can be solved to obtain the next
predicted root
U
L
U
L
L
U
r
x
f
x
f
x
f
x
x
f
x
x
r
x , as
(5)
10. http://numericalmethods.eng.usf.edu
10
Step-By-Step False-Position
Algorithms
as two guesses for the root such
1. Choose L
x U
x
and
that
0
U
L x
f
x
f
2. Estimate the root,
U
L
U
L
L
U
m
x
f
x
f
x
f
x
x
f
x
x
3. Now check the following
, then the root lies between
(a) If
and ; then
0
m
L x
f
x
f L
x
m
x L
L x
x and m
U x
x
, then the root lies between
(b) If
and ; then
0
m
L x
f
x
f m
x
U
x m
L x
x and U
U x
x
11. http://numericalmethods.eng.usf.edu
11
, then the root is
(c) If 0
m
L x
f
x
f .
m
x
Stop the algorithm if this is true.
4. Find the new estimate of the root
U
L
U
L
L
U
m
x
f
x
f
x
f
x
x
f
x
x
Find the absolute relative approximate error as
100
new
m
old
m
new
m
a
x
x
x
12. http://numericalmethods.eng.usf.edu
12
where
= estimated root from present iteration
= estimated root from previous iteration
new
m
x
old
m
x
.
001
.
0
10 3
s
say
5. If s
a
, then go to step 3,
else stop the algorithm.
Notes: The False-Position and Bisection algorithms are
quite similar. The only difference is the formula used to
calculate the new estimate of the root ,
m
x shown in steps
#2 and 4!
13. http://numericalmethods.eng.usf.edu
13
Example 1
The floating ball has a specific gravity of 0.6 and has a
radius of 5.5cm.
You are asked to find the depth to which the ball is
submerged when floating in water.
The equation that gives the depth x to which the ball is
submerged under water is given by
0
10
993
.
3
165
.
0 4
2
3
x
x
Use the false-position method of finding roots of
equations to find the depth to which the ball is
submerged under water. Conduct three iterations to
estimate the root of the above equation. Find the
absolute relative approximate error at the end of each
iteration, and the number of significant digits at least
correct at the converged iteration.
x
15. http://numericalmethods.eng.usf.edu
15
Let us assume
11
.
0
,
0
U
L x
x
4
4
2
3
4
4
2
3
10
662
.
2
10
993
.
3
11
.
0
165
.
0
11
.
0
11
.
0
10
993
.
3
10
993
.
3
0
165
.
0
0
0
f
x
f
f
x
f
U
L
Hence,
0
10
662
.
2
10
993
.
3
11
.
0
0 4
4
f
f
x
f
x
f U
L
16. http://numericalmethods.eng.usf.edu
16
Iteration 1
0660
.
0
10
662
.
2
10
993
.
3
10
662
.
2
0
10
993
.
3
11
.
0
4
4
4
4
U
L
U
L
L
U
m
x
f
x
f
x
f
x
x
f
x
x
5
4
2
3
10
1944
.
3
10
993
.
3
0660
.
0
165
.
0
0660
.
0
0660
.
0
f
x
f m
0
0660
.
0
0
f
f
x
f
x
f m
L
0660
.
0
,
0
U
L x
x
17. http://numericalmethods.eng.usf.edu
17
Iteration 2
0611
.
0
10
1944
.
3
10
993
.
3
10
1944
.
3
0
10
993
.
3
0660
.
0
5
4
5
4
U
L
U
L
L
U
m
x
f
x
f
x
f
x
x
f
x
x
5
4
2
3
10
1320
.
1
10
993
.
3
0611
.
0
165
.
0
0611
.
0
0611
.
0
f
x
f m
0
0611
.
0
0
f
f
x
f
x
f m
L
0660
.
0
,
0611
.
0
U
L x
x
Hence,
19. http://numericalmethods.eng.usf.edu
19
7
10
1313
.
1
m
x
f
0
0624
.
0
0611
.
0
f
f
x
f
x
f m
L
Hence,
0624
.
0
,
0611
.
0
U
L x
x
%
05
.
2
100
0624
.
0
0611
.
0
0624
.
0
a
20. http://numericalmethods.eng.usf.edu
20
Iteration
1 0.0000 0.1100 0.0660 N/A -3.1944x10-5
2 0.0000 0.0660 0.0611 8.00 1.1320x10-5
3 0.0611 0.0660 0.0624 2.05 -1.1313x10-7
4 0.0611 0.0624 0.0632377619 0.02 -3.3471x10-10
L
x U
x m
x %
a
m
x
f
0
10
993
.
3
165
.
0 4
2
3
x
x
x
f
Table 1: Root of
for False-Position Method.
24. This instructional power point brought to you by
Numerical Methods for STEM undergraduate
http://numericalmethods.eng.usf.edu
Committed to bringing numerical methods to the
undergraduate
Acknowledgement
25. For instructional videos on other topics, go to
http://numericalmethods.eng.usf.edu/videos/
This material is based upon work supported by the National
Science Foundation under Grant # 0717624. Any opinions,
findings, and conclusions or recommendations expressed in
this material are those of the author(s) and do not necessarily
reflect the views of the National Science Foundation.