Professional Documents
Culture Documents
Slides of NMChE - Sem II
Slides of NMChE - Sem II
Roots of Equations
BITS Pilani Pratik N Sheth
Pilani Campus Department of Chemical Engineering
Contents
• Open Method
• Secant Method
• System of nonlinear equations
• Error analysis
2
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
BITS Pilani
Pilani Campus
Open Method
1
1/28/2019
Secant Method
4
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
Secant Method
5
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
Problem
36 m/s
10 s.
f‘(m)=(9.81/15){(1-exp(-150/m))-(150/m)(exp(-150/m)}
6
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
2
1/28/2019
3
1/28/2019
10
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
Other topics
Brent’s Method
Modified Newton Raphson method for multiple roots
System of Nonlinear Equations
11
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
System of Nonlinear
Equations
• To this point, we have focused on the determination of
the roots of a single equation.
• A related problem is to locate the roots of a set of
simultaneous equations,
4
1/28/2019
System of Nonlinear
Equations
• Fixed point iteration method & Newton Raphson Method
13
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
x y xi+1 yi+1
1.5 3.5 2.214285714 -24.375
2.21428571 -24.375 -0.209105181 429.713648
-0.2091052 429.713648 0.023169557 -12778.04178
0.02316956 -12778.042 -0.000782551 383377.6746
x y xi+1 yi+1
1.5 3.5 2.17944947 2.86050599
2.17944947 2.86050599 1.94053388 3.04955067
1.94053388 3.04955067 2.02045629 2.98340475
2.02045629 2.98340475 1.99302813 3.00570436
1.99302813 3.00570436 2.00238524 2.9980543
14
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
• True solution
15
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
5
1/28/2019
16
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
Convergence
17
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
Divergence
18
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
6
1/28/2019
19
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
20
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
21
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
7
1/28/2019
22
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
23
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
24
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus
8
1/28/2019
Thanks
25
Dr Pratik N Sheth, Dept of Chemical Engg, BITS Pilani, Pilani Campus