SlideShare une entreprise Scribd logo
1  sur  33
Solution of algebraic & transdental equation
with Newton Raphson method & Secant
method
1S.N.P.I.T. & R.C.
Presented by:
 130490106065 – Modi Nagma
 130490106085 – Patel Pinal
 140493106015 – Padhiyar Sagar
 140493106025 – Taylor Kishan
2S.N.P.I.T. & R.C.
Two Fundamental Approaches
1. Bracketing or Closed Methods
- Bisection Method
- False-position Method (Regula falsi).
2. Open Methods
- Newton-Raphson Method
- Secant Method
- Fixed point Methods
Roots of Equations
3S.N.P.I.T. & R.C.
Newton Raphson’s Method
 The equation for
Newton’s Method can
be determined
graphically!
4S.N.P.I.T. & R.C.
Continue.....
 The equation for Newton’s
Method can be determined
graphically!
 From the diagram tan Ө =
ƒ'(x0) = ƒ(x0)/(x0 – x1)
5S.N.P.I.T. & R.C.
Continue....
 The equation for Newton’s
Method can be determined
graphically!
 From the diagram tan Ө =
ƒ'(x0) = ƒ(x0)/(x0 – x1)
 Thus, x1=x0 -ƒ(x0)/ƒ'(x0).
6S.N.P.I.T. & R.C.
 In general, if the nth approximation is xn and f’(xn) ≠
0, then the next approximation is given by:
3
1
( )
12
'( )
n
n n
n
f x
x x
f x
  
Equation/Formula 2
Continue…
7S.N.P.I.T. & R.C.
Starting with x1 = 2, find the third
approximation x3 to the root of
the equation
x3 – 2x – 5 = 0
Example Of Newton Raphson’s
method
Example 1
8S.N.P.I.T. & R.C.
We apply Newton’s method with
f(x) = x3 – 2x – 5 and f’(x) = 3x2 – 2
 Newton himself used this equation to illustrate
his method.
 He chose x1 = 2 after some experimentation
because f(1) = -6, f(2) = -1 and f(3) = 16
Continue…
Example 1
9S.N.P.I.T. & R.C.
Equation 2 becomes:
Continue…
10S.N.P.I.T. & R.C.
3
2
2 5
1
3 2
n n
n n
n
x x
x x
x
 
  

With n = 1, we have:
Continue…..
11S.N.P.I.T. & R.C.
3
1 1
2 1 2
1
3
2
2 5
3 2
2 2(2) 5
2
3(2) 2
2.1
x x
x x
x
 
 

 
 


With n = 2, we obtain:
 It turns out that this third approximation x3 ≈ 2.0946
is accurate to four decimal places.
Continue….
12S.N.P.I.T. & R.C.
3
2 2
3 2 2
2
3
2
2 5
3 2
2.1 2(2.1) 5
2.1
3(2.1) 2
2.0946
x x
x x
x
 
 

 
 


 Use Newton’s method to find correct to eight
decimal places.
 First, we observe that finding is equivalent to
finding the positive root of the equation x6 – 2 = 0
 So, we take f(x) = x6 – 2
 Then, f’(x) = 6x5
Example 2
Newton Raphson’s method
6
2
6
2
13S.N.P.I.T. & R.C.
 So, Formula 2 (Newton’s method)
becomes:
Continue…
14S.N.P.I.T. & R.C.
6
1 5
2
6
n
n n
n
x
x x
x


 
 Choosing x1 = 1 as the initial approximation, we obtain:
 As x5 and x6 agree to eight decimal places, we
conclude that to eight decimal places.
Continue…
2
3
4
5
6
1.16666667
1.12644368
1.12249707
1.12246205
1.12246205
x
x
x
x
x





6
2 1.12246205
15S.N.P.I.T. & R.C.
Newton Raphson’s method
 Use Newton’s method to find correct to four
decimal places.
 Where, N=12
q=3
= 1
S.N.P.I.T. & R.C. 16
 1 1
1
1n n q
n
N
x x q
q x
 
 
   
 
0x
3
12
continue….
 So, Formula 2 (Newton’s method) for find out qth
root
becomes:
S.N.P.I.T. & R.C. 17
   1 3 1
1 12
3 1 1
3
n n
n
x x
x
 
 
   
 
1 4.6667x 
Continue….
 Choosing x1 = 1 as the initial approximation, we obtain:
 As x5 and x6 agree to four decimal places, we
conclude that to four decimal places.
S.N.P.I.T. & R.C. 18
3
12 2.2894
2
3
4
5
6
7
3.2948
2.5650
2.3180
2.2898
2.2894
2.2894
x
x
x
x
x
x






Secant Method
19S.N.P.I.T. & R.C.
Continue....
 First we find two
points(x0,x1), which are
hopefully near the root
(we may use the
bisection method).
 A line is then drawn
through the two points
and we find where the
line intercepts the x-axis,
x2.
20S.N.P.I.T. & R.C.
Continue....
 If f(x) were truly linear,
the straight line would
intercept the x-axis at
the root.
 However since it is not
linear, the intercept is
not at the root but it
should be close to it.
21S.N.P.I.T. & R.C.
Continue....
 From similar triangles
we can write that,
 
 
 
   10
10
1
21
xfxf
xx
xf
xx




1x 0x2x
 1xf
 0xf
22S.N.P.I.T. & R.C.
Continue....
 From similar triangles
we can write that,
 Solving for x2 we get:
 
 
 
   10
10
1
21
xfxf
xx
xf
xx




   
   10
10
112
xfxf
xx
xfxx



23S.N.P.I.T. & R.C.
Continue....
 Iteratively this is
written as:
   
   nn
nn
nnn
xfxf
xx
xfxx






1
1
1
24S.N.P.I.T. & R.C.
S.N.P.I.T. & R.C. 25
Approx. f '(x) with backward FDD:
Substitute this into the N-R equation:
to obtain the iterative expression:
i 1 i
i 1 i
f (x ) f (x )
f '(x)
x x





i
i 1 i
i
f (x )
x x
f '(x )
  
i i 1 i
i 1 i
i 1 i
f(x )(x x )
x x
f(x ) f(x )




 

Continue….
x
f(x)
1
2
new est.
x
f(x)
1
new est.
2
FALSE POSITION
SECANT METHOD
The new estimate
is selected from the
intersection with the
x-axis
26S.N.P.I.T. & R.C.
Example of Secant Method
The floating ball has a specific gravity of 0.6 and has a
radius of 5.5cm.
You are asked to find the depth to which the ball is
submerged when floating in water.
The equation that gives the depth x to which the ball is
submerged under water is given by
010993.3165.0 423
 
xx
27S.N.P.I.T. & R.C.
Use the secant method of finding roots of
equations to find the depth to which the ball is
submerged under water. Conduct three iterations to
estimate the root of the above equation. Find the
absolute relative approximate error at the end of each
iteration, and the number of significant digits at least
correct at the converged iteration.
28S.N.P.I.T. & R.C.
S.N.P.I.T. & R.C. 29
Secant Method
From the physics of the problem
11.00
)055.0(20
20



x
x
Rx
x
water
Figure 2 :
Floating ball
problem
S.N.P.I.T. & R.C. 30
Let us assume
11.0,0  UL xx
       
        4423
4423
10662.210993.311.0165.011.011.0
10993.310993.30165.000




fxf
fxf
U
L
Hence,
           010662.210993.311.00 44
 
ffxfxf UL
31
Iteration 1
   
   
 
 
0660.0
10662.210993.3
10662.2010993.311.0
44
44









UL
ULLU
m
xfxf
xfxxfx
x
         
5
423
101944.3
10993.30660.0165.00660.00660.0



 fxf m
           00660.00  ffxfxf mL
0660.0,0  UL xx
S.N.P.I.T. & R.C.
32
Iteration
1 0.0000 0.1100 0.0660 N/A -3.1944x10-5
2 0.0000 0.0660 0.0611 8.00 1.1320x10-5
3 0.0611 0.0660 0.0624 2.05 -1.1313x10-7
4 0.0611 0.0624 0.0632377619 0.02 -3.3471x10-10
Lx Ux mx %a  mxf
  010993.3165.0 423
 
xxxfTable 1: Root of
for secant Method.
S.N.P.I.T. & R.C.
33S.N.P.I.T. & R.C.

Contenu connexe

Tendances

Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
andrushow
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
ZunAib Ali
 

Tendances (20)

Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Newton Raphson Method
Newton Raphson MethodNewton Raphson Method
Newton Raphson Method
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Complex integration
Complex integrationComplex integration
Complex integration
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
21 simpson's rule
21 simpson's rule21 simpson's rule
21 simpson's rule
 
Newton Raphson Method Using C Programming
Newton Raphson Method Using C Programming Newton Raphson Method Using C Programming
Newton Raphson Method Using C Programming
 
Unit1
Unit1Unit1
Unit1
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
Gauss sediel
Gauss sedielGauss sediel
Gauss sediel
 
Complex integration its uses and types
Complex integration its uses and typesComplex integration its uses and types
Complex integration its uses and types
 
Secant method
Secant methodSecant method
Secant method
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and Integration
 
Newton-Raphson Method
Newton-Raphson MethodNewton-Raphson Method
Newton-Raphson Method
 
Secant Method
Secant MethodSecant Method
Secant Method
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
Kalman filter for Beginners
Kalman filter for BeginnersKalman filter for Beginners
Kalman filter for Beginners
 

En vedette

Secent method
Secent methodSecent method
Secent method
ritu1806
 
Secant method
Secant methodSecant method
Secant method
uis
 
Newton raphson
Newton raphsonNewton raphson
Newton raphson
baxter89
 
Calculus AB - Slope of secant and tangent lines
Calculus AB - Slope of secant and tangent linesCalculus AB - Slope of secant and tangent lines
Calculus AB - Slope of secant and tangent lines
Kenyon Hundley
 

En vedette (20)

Lecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcLecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etc
 
Secant method
Secant methodSecant method
Secant method
 
Secent method
Secent methodSecent method
Secent method
 
Secant method
Secant methodSecant method
Secant method
 
Secante
SecanteSecante
Secante
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Newton raphson
Newton raphsonNewton raphson
Newton raphson
 
bisection method
bisection methodbisection method
bisection method
 
A review
A reviewA review
A review
 
Recognize learning with the ELD method
Recognize learning with the ELD methodRecognize learning with the ELD method
Recognize learning with the ELD method
 
Economic Load Dispatch Optimization of Six Interconnected Generating Units Us...
Economic Load Dispatch Optimization of Six Interconnected Generating Units Us...Economic Load Dispatch Optimization of Six Interconnected Generating Units Us...
Economic Load Dispatch Optimization of Six Interconnected Generating Units Us...
 
Ll1411
Ll1411Ll1411
Ll1411
 
Hybrid Approach to Economic Load Dispatch
Hybrid Approach to Economic Load DispatchHybrid Approach to Economic Load Dispatch
Hybrid Approach to Economic Load Dispatch
 
Genetic Algorithm for Solving the Economic Load Dispatch
Genetic Algorithm for Solving the Economic Load DispatchGenetic Algorithm for Solving the Economic Load Dispatch
Genetic Algorithm for Solving the Economic Load Dispatch
 
Roots of equations
Roots of equations Roots of equations
Roots of equations
 
Newton raphson
Newton raphsonNewton raphson
Newton raphson
 
OPTIMAL ECONOMIC LOAD DISPATCH USING FUZZY LOGIC & GENETIC ALGORITHMS
OPTIMAL ECONOMIC LOAD DISPATCH USING FUZZY LOGIC & GENETIC ALGORITHMSOPTIMAL ECONOMIC LOAD DISPATCH USING FUZZY LOGIC & GENETIC ALGORITHMS
OPTIMAL ECONOMIC LOAD DISPATCH USING FUZZY LOGIC & GENETIC ALGORITHMS
 
Bisection method
Bisection methodBisection method
Bisection method
 
Unit4
Unit4Unit4
Unit4
 
Calculus AB - Slope of secant and tangent lines
Calculus AB - Slope of secant and tangent linesCalculus AB - Slope of secant and tangent lines
Calculus AB - Slope of secant and tangent lines
 

Similaire à algebric solutions by newton raphson method and secant method

Exercise roots of equations
Exercise roots of equationsExercise roots of equations
Exercise roots of equations
DUBAN CASTRO
 
Exercise roots of equations
Exercise roots of equationsExercise roots of equations
Exercise roots of equations
DUBAN CASTRO
 
Question bank v it cos
Question bank v  it  cosQuestion bank v  it  cos
Question bank v it cos
Mistry Kartik
 

Similaire à algebric solutions by newton raphson method and secant method (20)

Exercise roots of equations
Exercise roots of equationsExercise roots of equations
Exercise roots of equations
 
Exercise roots of equations
Exercise roots of equationsExercise roots of equations
Exercise roots of equations
 
Lesson 3 simpsons rule
Lesson 3 simpsons ruleLesson 3 simpsons rule
Lesson 3 simpsons rule
 
104newton solution
104newton solution104newton solution
104newton solution
 
Presentation on application of numerical method in our life
Presentation on application of numerical method in our lifePresentation on application of numerical method in our life
Presentation on application of numerical method in our life
 
Ssc ass-2
Ssc ass-2Ssc ass-2
Ssc ass-2
 
1249320870000 asgn 1-jm (1)
1249320870000 asgn 1-jm (1)1249320870000 asgn 1-jm (1)
1249320870000 asgn 1-jm (1)
 
Newton raphson halley_householder_simpleexplanation
Newton raphson halley_householder_simpleexplanationNewton raphson halley_householder_simpleexplanation
Newton raphson halley_householder_simpleexplanation
 
Numerical integration
Numerical integration Numerical integration
Numerical integration
 
Question bank v it cos
Question bank v  it  cosQuestion bank v  it  cos
Question bank v it cos
 
Ordinary Differential Equation
Ordinary Differential EquationOrdinary Differential Equation
Ordinary Differential Equation
 
05_AJMS_332_21.pdf
05_AJMS_332_21.pdf05_AJMS_332_21.pdf
05_AJMS_332_21.pdf
 
Newton Raphson Method in numerical methods of advanced engineering mathematics
Newton Raphson Method in numerical methods of advanced engineering mathematicsNewton Raphson Method in numerical methods of advanced engineering mathematics
Newton Raphson Method in numerical methods of advanced engineering mathematics
 
NEWTON RPHSON METHOD WITH CALCULATOR TUTORIAL
NEWTON RPHSON METHOD WITH CALCULATOR TUTORIALNEWTON RPHSON METHOD WITH CALCULATOR TUTORIAL
NEWTON RPHSON METHOD WITH CALCULATOR TUTORIAL
 
Newton raphsonmethod presentation
Newton raphsonmethod presentationNewton raphsonmethod presentation
Newton raphsonmethod presentation
 
ROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONS
 
published research papers
published research paperspublished research papers
published research papers
 
journal of mathematics research
journal of mathematics researchjournal of mathematics research
journal of mathematics research
 
research paper publication journals
research paper publication journalsresearch paper publication journals
research paper publication journals
 
Numerical Techniques
Numerical TechniquesNumerical Techniques
Numerical Techniques
 

Plus de Nagma Modi

Plus de Nagma Modi (10)

Sub soil exploration
Sub soil exploration Sub soil exploration
Sub soil exploration
 
Irrigation engineering
Irrigation engineeringIrrigation engineering
Irrigation engineering
 
Influence line for structure analysis in civil engineering
Influence line for structure analysis in civil engineeringInfluence line for structure analysis in civil engineering
Influence line for structure analysis in civil engineering
 
Energy principle in structure analysis in civil engineering
Energy principle in structure analysis in civil engineeringEnergy principle in structure analysis in civil engineering
Energy principle in structure analysis in civil engineering
 
design philosophy in structure design in civil engineering
design philosophy in structure design in civil engineeringdesign philosophy in structure design in civil engineering
design philosophy in structure design in civil engineering
 
lintel and arches for building construction
lintel and arches for building constructionlintel and arches for building construction
lintel and arches for building construction
 
Slope deflection method for structure analysis in civil engineering
Slope deflection method for structure analysis in civil engineeringSlope deflection method for structure analysis in civil engineering
Slope deflection method for structure analysis in civil engineering
 
Stucture Design of various Watre tank
 Stucture Design of various Watre tank Stucture Design of various Watre tank
Stucture Design of various Watre tank
 
Pile Foundation for advanced construction equipments
Pile Foundation for advanced construction equipmentsPile Foundation for advanced construction equipments
Pile Foundation for advanced construction equipments
 
Ppv ppt
Ppv pptPpv ppt
Ppv ppt
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Dernier (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

algebric solutions by newton raphson method and secant method

  • 1. Solution of algebraic & transdental equation with Newton Raphson method & Secant method 1S.N.P.I.T. & R.C.
  • 2. Presented by:  130490106065 – Modi Nagma  130490106085 – Patel Pinal  140493106015 – Padhiyar Sagar  140493106025 – Taylor Kishan 2S.N.P.I.T. & R.C.
  • 3. Two Fundamental Approaches 1. Bracketing or Closed Methods - Bisection Method - False-position Method (Regula falsi). 2. Open Methods - Newton-Raphson Method - Secant Method - Fixed point Methods Roots of Equations 3S.N.P.I.T. & R.C.
  • 4. Newton Raphson’s Method  The equation for Newton’s Method can be determined graphically! 4S.N.P.I.T. & R.C.
  • 5. Continue.....  The equation for Newton’s Method can be determined graphically!  From the diagram tan Ө = ƒ'(x0) = ƒ(x0)/(x0 – x1) 5S.N.P.I.T. & R.C.
  • 6. Continue....  The equation for Newton’s Method can be determined graphically!  From the diagram tan Ө = ƒ'(x0) = ƒ(x0)/(x0 – x1)  Thus, x1=x0 -ƒ(x0)/ƒ'(x0). 6S.N.P.I.T. & R.C.
  • 7.  In general, if the nth approximation is xn and f’(xn) ≠ 0, then the next approximation is given by: 3 1 ( ) 12 '( ) n n n n f x x x f x    Equation/Formula 2 Continue… 7S.N.P.I.T. & R.C.
  • 8. Starting with x1 = 2, find the third approximation x3 to the root of the equation x3 – 2x – 5 = 0 Example Of Newton Raphson’s method Example 1 8S.N.P.I.T. & R.C.
  • 9. We apply Newton’s method with f(x) = x3 – 2x – 5 and f’(x) = 3x2 – 2  Newton himself used this equation to illustrate his method.  He chose x1 = 2 after some experimentation because f(1) = -6, f(2) = -1 and f(3) = 16 Continue… Example 1 9S.N.P.I.T. & R.C.
  • 10. Equation 2 becomes: Continue… 10S.N.P.I.T. & R.C. 3 2 2 5 1 3 2 n n n n n x x x x x      
  • 11. With n = 1, we have: Continue….. 11S.N.P.I.T. & R.C. 3 1 1 2 1 2 1 3 2 2 5 3 2 2 2(2) 5 2 3(2) 2 2.1 x x x x x           
  • 12. With n = 2, we obtain:  It turns out that this third approximation x3 ≈ 2.0946 is accurate to four decimal places. Continue…. 12S.N.P.I.T. & R.C. 3 2 2 3 2 2 2 3 2 2 5 3 2 2.1 2(2.1) 5 2.1 3(2.1) 2 2.0946 x x x x x           
  • 13.  Use Newton’s method to find correct to eight decimal places.  First, we observe that finding is equivalent to finding the positive root of the equation x6 – 2 = 0  So, we take f(x) = x6 – 2  Then, f’(x) = 6x5 Example 2 Newton Raphson’s method 6 2 6 2 13S.N.P.I.T. & R.C.
  • 14.  So, Formula 2 (Newton’s method) becomes: Continue… 14S.N.P.I.T. & R.C. 6 1 5 2 6 n n n n x x x x    
  • 15.  Choosing x1 = 1 as the initial approximation, we obtain:  As x5 and x6 agree to eight decimal places, we conclude that to eight decimal places. Continue… 2 3 4 5 6 1.16666667 1.12644368 1.12249707 1.12246205 1.12246205 x x x x x      6 2 1.12246205 15S.N.P.I.T. & R.C.
  • 16. Newton Raphson’s method  Use Newton’s method to find correct to four decimal places.  Where, N=12 q=3 = 1 S.N.P.I.T. & R.C. 16  1 1 1 1n n q n N x x q q x           0x 3 12
  • 17. continue….  So, Formula 2 (Newton’s method) for find out qth root becomes: S.N.P.I.T. & R.C. 17    1 3 1 1 12 3 1 1 3 n n n x x x           1 4.6667x 
  • 18. Continue….  Choosing x1 = 1 as the initial approximation, we obtain:  As x5 and x6 agree to four decimal places, we conclude that to four decimal places. S.N.P.I.T. & R.C. 18 3 12 2.2894 2 3 4 5 6 7 3.2948 2.5650 2.3180 2.2898 2.2894 2.2894 x x x x x x      
  • 20. Continue....  First we find two points(x0,x1), which are hopefully near the root (we may use the bisection method).  A line is then drawn through the two points and we find where the line intercepts the x-axis, x2. 20S.N.P.I.T. & R.C.
  • 21. Continue....  If f(x) were truly linear, the straight line would intercept the x-axis at the root.  However since it is not linear, the intercept is not at the root but it should be close to it. 21S.N.P.I.T. & R.C.
  • 22. Continue....  From similar triangles we can write that,          10 10 1 21 xfxf xx xf xx     1x 0x2x  1xf  0xf 22S.N.P.I.T. & R.C.
  • 23. Continue....  From similar triangles we can write that,  Solving for x2 we get:          10 10 1 21 xfxf xx xf xx            10 10 112 xfxf xx xfxx    23S.N.P.I.T. & R.C.
  • 24. Continue....  Iteratively this is written as:        nn nn nnn xfxf xx xfxx       1 1 1 24S.N.P.I.T. & R.C.
  • 25. S.N.P.I.T. & R.C. 25 Approx. f '(x) with backward FDD: Substitute this into the N-R equation: to obtain the iterative expression: i 1 i i 1 i f (x ) f (x ) f '(x) x x      i i 1 i i f (x ) x x f '(x )    i i 1 i i 1 i i 1 i f(x )(x x ) x x f(x ) f(x )        Continue….
  • 26. x f(x) 1 2 new est. x f(x) 1 new est. 2 FALSE POSITION SECANT METHOD The new estimate is selected from the intersection with the x-axis 26S.N.P.I.T. & R.C.
  • 27. Example of Secant Method The floating ball has a specific gravity of 0.6 and has a radius of 5.5cm. You are asked to find the depth to which the ball is submerged when floating in water. The equation that gives the depth x to which the ball is submerged under water is given by 010993.3165.0 423   xx 27S.N.P.I.T. & R.C.
  • 28. Use the secant method of finding roots of equations to find the depth to which the ball is submerged under water. Conduct three iterations to estimate the root of the above equation. Find the absolute relative approximate error at the end of each iteration, and the number of significant digits at least correct at the converged iteration. 28S.N.P.I.T. & R.C.
  • 29. S.N.P.I.T. & R.C. 29 Secant Method From the physics of the problem 11.00 )055.0(20 20    x x Rx x water Figure 2 : Floating ball problem
  • 30. S.N.P.I.T. & R.C. 30 Let us assume 11.0,0  UL xx                 4423 4423 10662.210993.311.0165.011.011.0 10993.310993.30165.000     fxf fxf U L Hence,            010662.210993.311.00 44   ffxfxf UL
  • 31. 31 Iteration 1             0660.0 10662.210993.3 10662.2010993.311.0 44 44          UL ULLU m xfxf xfxxfx x           5 423 101944.3 10993.30660.0165.00660.00660.0     fxf m            00660.00  ffxfxf mL 0660.0,0  UL xx S.N.P.I.T. & R.C.
  • 32. 32 Iteration 1 0.0000 0.1100 0.0660 N/A -3.1944x10-5 2 0.0000 0.0660 0.0611 8.00 1.1320x10-5 3 0.0611 0.0660 0.0624 2.05 -1.1313x10-7 4 0.0611 0.0624 0.0632377619 0.02 -3.3471x10-10 Lx Ux mx %a  mxf   010993.3165.0 423   xxxfTable 1: Root of for secant Method. S.N.P.I.T. & R.C.