Numerical Methods: Biplove Pokhrel Teaching Assistant, WRC
Numerical Methods: Biplove Pokhrel Teaching Assistant, WRC
METHODS
Biplove Pokhrel
Teaching Assistant,WRC
BASIC PROPERTIES OF
EQUATION
I. If f(x) is exactly divisible by x-a, then a is root
of f(x) =0.
II. Every equation of the nth degree has only n
roots (real or imaginary).
Conversely if a , a , …, a are the roots of the
1 2 n
nth degree equation f(x) =0
Then,
f(x)=A(x - a1) (x - a2) (x - an) Where A is a
constant.
METHOD OF SOLUTION
Direct Analytical Method (Quadratic
Equation)
Graphical Method
Trial And Error Method
Iterative Method
ITERATIVE METHOD
Iterative Method are the algorithmic
approaches to Numerical Calculation. These
are more Accurate as compared to other
method.
An Iterative Method begin with the initial
Guess of the Root Value which is Successively
Corrected iteration by iteration until the
certain level of Error Satisfaction is meet.
Types of Iterative Method
A. Bracketing Method
B. Open End Method
Bracketing Methods Starts with the initial
Guess that brackets the root and then
systematically reduce the width of the
Bracket until the solution is reached.
These Methods are based on the assumption
that the function changes its sign in the
Vicinity of the root.
Open End Methods start with the single
starting Value or True Value that does not
necessary brackets the Root.
ALGORITHM
Start
Choose and as two guesses for the root such that
f()f()<0 and Stopping Criteria E.
Compute f() and f().
Estimate the root X0 of the equation f(x)=0 as the
mid point between and . as
Now check the following
If f()f()=0 then the root is . Goto stop
If f()f()<0 then the root lies between and . Set = .
If f()f()>0 then the root lies between and . Set =
Find the absolute relative error
NUMERICAL PROBLEMS
Solve the equation and find the negative root
of x2-4x-10.
Solution:
X -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7
F(X) 35 22 11 2 -5 - - - - - -5 2 11
10 13 14 13 10
X
-5 -4 -3 -2 -1 0 1 2 3 4 5
- - - -9 -4 -5 -6 -1 16 51 11
F(X)
12 61 26 0
0
1 2 3 -1 16 2.058824 -0.3908
7 2.0941 3 - 16 2.0943
0.005038
ASSIGNMENT
Find the root of the equation cos x = xex
using the regula-falsi method correct to four
decimal places. (8 marks )
Find a real root of the equation x log10x =
1.2 by regula-falsi method correct to four
decimal places. (2 marks )
SECANT METHOD