Professional Documents
Culture Documents
1 - Roots of Algebraic Equations
1 - Roots of Algebraic Equations
College of Engineerin
E ng, Pune
NAM
ME OF STUUDENT: CLASS:
SEM
MESTER/YYEAR: ROLL NO:
N
DAT
TE OF PER
RFORMAN NCE: DATE OF
O SUBMIISSION:
EXA
AMINED BY:
B EXPERRIMENT NO:
AIM
M:
To write a program onn Numerical Solution off Algebraic and
a Transcenndental equaations by
using braccketing methhods and opeen methods.
OBJJECTIVES:
Student must
m be able to:
o Deevelop probllem solutionn skills usingg computers and numericcal methods
o Unnderstand diff
fference betweeen algebraic and transcenndental equatioons
o Identify variouus numerical methods forr roots of alggebraic and transcendentaal
quations
eq
o Unnderstand graaphical representation of rooot
o Abble to draw flow chart, com
mputer prograam in C/C++
PRE
E-REQUIS
SITES:
Given a function f of a variabble x,
find a vaalue r such thhat: f(r ) = 0
• The
T value r is i called:
– a rooot of the equuation
f(x) = 0.
– a zerro of the funnction
f.
Analyytical metho
ods exist for some speciffic equationss only. E.g.,
Wherre,
Braccketing Methods:
M
• Two initiaal guesses foor the root arre required.
• The two guesses
g mustt “bracket” the root i.e.,, on either side of the rooot
• Two bracketing methods to be inttroduced:
o Biisection metthod
Regula falsi)
o Faalse positionn method (R
Step 2:
Estimate the root xr of
o f(x) = 0 as
a the mid-
ween xl and xu as:
point betw
Step 3: Now
N check thhe followingg:
• If f(xl)f(xr) = 0 then thee root is xr; (BINGO!)
(
• stop the alggorithm.
– If f(xl)f(xr) < 0 theen
• the root lies in interval (xl, xr); upddate xu as xr;
• go to step 2. 2
– If f(xl)f(xr) > 0 theen
• the root lies in interval (xr, xu);
• update xl as xr;
• go to step 2
2.
Substituting y=0 and ,
Secant’s Method:
Almost identical with False Position Method, but some critical differences:
• Secant’s Method is Open Method (discussed in next session)
• Secant method does not require the two guesses to bracket a root.
• Formula for False Position and Secant Method is same.
• Difference between False Position and Secant method is in Step#3 only.
• Only one of the old guess values is replaced by the new guess.
New
wton-Raphsson Methodd:
Pit falls
fa for Neewton Raphhson Methhod:
ALG
GORITHM
M/FLOWC
CHART:
Sr. Result by
Method Error
No. Calculations Program
3) Draw flow chart to illustrate the steps involved in developing a program for
multistep regression.
4) Write condition for convergence for Newton-Raphson method and Successive
Approximation Method.
5) Write realistic applications of this experiment in brief (at least two applications).