Professional Documents
Culture Documents
5.1 Introduction:
The solving of an engineering problem may is part require the determination of the roots
of some equation. Roots of an equation are defined as the values of which satisfy an equation
of the form
The first two equation are examples equation of polynomial and the third is an example of
transcendental equation.
The zeros of a function are equal to the roots of equation (5.1). A function is said to have
zeros, and an equation is said to have roots. In general, equations can have roots which take an
either real or imaginary values. The real roots of an equation can be considered in graphical
terms. If a graph of the function as plotted as shown in figure (5-1), the real roots are
represented by the points where the curve crosses the .
-1-
Chapter One Roots of Non-Linear Equations
Which gives
Equation (5.2) is called the Newton-Raphson formula for solving nonlinear equations of the
form . So starting with an initial guess, one cman find the next guess, by using
Equation (5.2). One can repeat this process until one finds the root within a desirable tolerance.
-2-
Chapter One Roots of Non-Linear Equations
Is the better
approximation
of the root
0 1 1 4 0.75000
Is the better
approximation
of the root
Example 5: Find the root of the following equation using Newton’s Raphson Method
Solution:
-5-
Chapter One Roots of Non-Linear Equations
5.2.2 False-Position Method:
Let be of opposite signs.
Obviously are
On opposite sides of then the curve can
Be approximated by the chord . If the
curve cuts the at and the chord
at , then is the exact root and
may be taken as its approximate
value.
-6-
Chapter One Roots of Non-Linear Equations
3. If are of opposite signs then the root lies between otherwise it
lies between .
4. Find the next approximation by applying the formula of step 2 with the changed interval.
5. Apply the method repeatedly till the desired accuracy is obtained.
-7-
Chapter One Roots of Non-Linear Equations
Now
As are of opposite signs, therefore the root lies between and ,
Here
Example 8: Find the real root of the equation . Using the bisection method.
Solution: Since -ve +ve
0 0.2 0.4 0.6 0.8 1
0 -0.159 -0.229 -0.205 -0.077 0.1585
-9-
Chapter One Roots of Non-Linear Equations
Example 9: Consider find1ing the root of f(x) = x2 - 3. Let absolute error is εabs = 0.005 and start
with the interval [1, 2].
xl xu xm f(xm) f(xl) f(xu) ∆xm
1 2 1.5 -0.75 -2 1 0.5
1.5 2 1.75 0.0625 -0.75 1 0.25
1.5 1.75 1.625 -0.359375 -0.75 0.0625 0.125
1.625 1.75 1.6875 -0.152343 -0.359375 0.0625 0.0625
1.6875 1.75 1.71875 -0.0458984 -0.152343 0.0625 0.0313
1.71875 1.75 1.734375 0.00805664 -0.0458984 0.0625 0.0156
1.71875 1.734375 1.7265625 -0.0189819 -0.0458984 0.00805664 -0.0078
1.7265625 1.734375 1.73046875 -0.0054779 -0.0189819 0.00805664 0.0039
- 10 -
Chapter One Roots of Non-Linear Equations
It can be shown that if when is sufficiently close to the exact value of the root,
then
Example 10: Find the root of the equation . By the iteration
method. With the first trail .
When
, , The root is 20
Important notes:
1. From equation we note that For example the equation
- 11 -
Chapter One Roots of Non-Linear Equations
For . Hence the successive approximations tend to the exact
When
radian
- 12 -
Chapter One Roots of Non-Linear Equations
H.W: Find the root of the following equations by the iteration method.
1). 2).
- 13 -
Chapter One Roots of Non-Linear Equations
Exercises
2/ 1+cos(t)- 4t=0 between [0, 1] use false position method Ans.: 0.472597
x
5/ f ( x) e x sin use N.R.M. Ans: 0.4435735
2
2) For turbulent flow of fluid in a smooth pipe, the following relation exists between the friction
factor (Cf ) and Reynolds number (Re):
1
Cf
0.4 1.74 ln Re C f
Compute (Cf ) for Re = 105 take as initials (0.0005 and, 0.005) correct to six decimal places.
3) designing a spherical tank to hold water. The volume of liquid it can hold can be computed
(3R h)
as: V h 2 where V = volume (m3), h = depth of water in tank (m), and R = the tank
3
radius (m). If R = 3 m, what depth must the tank be filled to so that it holds 30 m3 ? Use three
iterations of the Newton-Raphson method to determine value of h ?
4) Figure below shows a uniform beam subject to a linearly increasing distributed load. The
wo
equation for the resulting elastic curve: y ( x 5 2 Lx 3 L4 x)
120 EIL
Determine the value of the maximum deflection using the following parameter values, L = 1 m,
E = 2*105 N/m2, I = 3*106 mm4 and wo = 340N/mm
Ans: y = ˗1.3558
- 14 -
Chapter One Roots of Non-Linear Equations
3
5) Using false position method for the cube root, and use it to calculate 7 compute up to (4)
decimal places.
160,000
v 2200 ln 9.8t (m/s) with time (t) in (s). compute the time at which v =
160,000 2680t
1000 m/s.
9) Locate the first positive root of f (x) = sin x + cos(1 + x2) – 1 where x is in radians. Use four
iterations of the secant method with initial guesses of xi–1 = 1.0 and xi = 3.0; to locate the root
and take a minimum of four iterations.
10). in a ocean engineering for a reflected standing wave in a harbor is given by:
h ho (0.921047) sin x /10 e x . Solve for lowest positive value of (x) if (h = 0.5ho)
- 15 -