Professional Documents
Culture Documents
Intended Learning Outcomes : At the end of this lesson, you should be able to :
1. Determine real roots of Equations using the False-Position Method
2. Determine real roots of Equations using the Newton-Raphson Method
Discussions :
1. Method of False Position (Regula-Falsi Method)
Method of False Position (aka Linear Interpolation Method) is an iterative method of finding
roots of a given equation using a straight line connecting two points in the curve. Using this straight
line, the current estimate is based on the intersection of the straight line and the x-axis.
Consider the curve shown below. Point(xr,0) is an estimate of the root of the curve y =f(x).
Using similar triangles,
solving for xr , x2 y1 x1 y2
xr= −
y1−y 2 y1−y 2
adding and subtracting x2 on the right side,
x2 y1 x1 y2
x r =x 2+ −x2−
y 1−y 2 y 1−y 2
%Error=abs
[ Expected value−Measured Value
Expected Value ]
x 100
Solution :
1. Plot the curve using a spreadsheet software
y 2 (x 1−x 2 )
x r =x 2−
y 1−y 2
1st iteration : x1 = 3, y1 = -2.7 (Focus on root in betweeen 3.0 and 4.0)
x2 = 4, y2 = 23.6
23.6(3−4)
x r =4− =3.103
(−2.7−23.6) , yr = -2.007
y1 (yr) = 5.42 > 0 ; the root lies in between x2 and xr
, Newton-Raphson formula
Derivation of the Newton-Raphson Formula
By definition
y1−y 2
Slope=f ' (x 1)=
x1−x 2
substitute y1 = f(x1) and y2 = 0
f ( x1 )
f ' (x 1)=
x1−x 2
f (x 1)
x 1−x 2=
f '( x1 )
express in terms of x2 ,
f (x 1)
x 2=x1−
f '(x1 ) , Newton-Raphson formula
where :
x1 = initial root estimate
x2 = calculated root
f(x1) = value of function at x1
f ' (x1) = value of first derivative at x1
For faster convergence a sufficiently close estimate x1 is necessary. The NRM can yield
inaccurate results in the presence of local maxima/minima. A plot of the graph can help in
determining the first guess x1.
Solution :
1. Plot the function : y = x4 – 5.1x3 + 5x2 +5x - 6
Solution :
1. Determine the support reactions
1. Find the all real roots of the equation : cos(2x) - x/2 = 0 , x in radians
Use the Method of False-Position(MFM). Use a tolerance of %Error < 0.1%
References :
1. Applied Numerical Methods with MATLAB for Engineers and Scientist
Steven C. Chapra, McGraw Hill International Edition c.2005