SlideShare a Scribd company logo
1 of 18
Roots of a Nonlinear
                   Equation


           Topic: Newton-Raphson Method

                Major: General Engineering



07/20/09            http://numericalmethods.eng.usf.edu   1
Newton-Raphson Method

     f(x)



                                                                  f(xi )
     f(xi)
                                      [x f( x )]     xi +1 = xi -
                                        i,   i                      ′
                                                                  f (xi )


    f(xi-1)

                             θ
                   xi+2   xi+1   xi              X




2
Derivation
    f(x)
                                              AB
                                  tan(α ) =
                                              AC
    f(xi)              B
                                               f ( xi )
                                f ' ( xi ) =
                                             xi − xi +1

                                                f ( xi )
                                   xi +1 = xi −
            C α       A     X                   f ' ( xi )
             xi+1      xi


3
Algorithm for Newton-
       Raphson Method



4
Step 1



    Evaluate f′(x) symbolically




5
Step 2

    Calculate the next estimate of the root

                                       f(xi )
                          xi +1 = xi -
                                       f'(xi )
    Find the absolute relative approximate error


                               xi +1- xi
                          ∈a =           x 100
                                 xi +1
6
Step 3
       Find if the absolute relative approximate error is
        greater than the pre-specified relative error
        tolerance.

       If so, go back to step 2, else stop the algorithm.

       Also check if the number of iterations has exceeded
        the maximum number of iterations.




7
Example
       You are working for ‘DOWN THE TOILET COMPANY’ that
        makes floats for ABC commodes. The ball has a specific
        gravity of 0.6 and has a radius of 5.5 cm. You are asked
        to find the distance to which the ball will get submerged
        when floating in water.




8
Solution
         The equation that gives the depth ‘x’ to which the ball is
           submerged under water is given by
               f ( x ) = x 3-0.165 x 2+3.993x10- 4
               f ( x ) = 3x 2-0.33x
    Use the Newton’s method of finding
    roots of equations to find the depth
    ‘x’ to which the ball is submerged
    under water. Conduct three
    iterations to estimate the root of the
    above equation.

9
Graph of function f(x)
     f ( x ) = x -0.165 x +3.993x10
             3        2               -4




10
Iteration #1
           x0 = 0.02
                      f ( x0 )
           x1 = x0 −
                     f ' ( x0 )
                       3.413x10−4
           x1 = 0.02 −
                       − 5.4 x10−3
              = 0.08320
           ∈ = 75.96%
            a




11
Iteration #2
           x1 = 0.08320
                        f ( x1 )
           x2 = x1 −
                       f ' ( x1 )
                          −1.670x10 −4
           x2 = 0.08320 −
                          − 6.689 x10 −3
              = 0.05824
           ∈ = 42.86%
            a




12
Iteration #3
          x2 = 0.05824
                     f ( x2 )
          x3 = x2 −
                    f ' ( x2 )
                        3.717 x10−5
            = 0.05284 −
                        − 9.043x10−3
            = 0.06235
          ∈ = 6.592%
           a




13
Advantages

        Converges fast, if it converges
        Requires only one guess




14
Drawbacks
                           10
                                    f(x)


                           5




                           0                                      x
     -2   -1           2        0           3     1           2

               1
                           -5




                                           f ( x ) = ( x − 1) = 0
                        -10
                                                          3

                        -15




                        -20




                   Inflection Point
15
Drawbacks (continued)
                               1.00E-05
                                              f(x)
                              7.50E-06

                              5.00E-06

                              2.50E-06

                              0.00E+00                                            x
     -0.03    -0.02   -0.01               0          0.01     0.02     0.03       0.04
                              -2.50E-06
                                                            0.02
                              -5.00E-06


                                              f ( x ) = x 3 − 0.03 x 2 + 2.4 x10 −6 = 0
                              -7.50E-06

                              -1.00E-05




                         Division by zero

16
Drawbacks (continued)
                  1.5
          f(x)
                   1



                 0.5


                                                                x
                   0
     -2
          -0.063069 0.54990
                  0           2    4
                                       4.462   6
                                                   7.53982
                                                         8      10

                 -0.5



                   -1                          f ( x ) = Sin x = 0
                 -1.5




                                  Root Jumping
17
Drawbacks (continued)
                              6
                                   f(x)

                              5



                              4



                              3
               3

                              2
                                          2             f ( x) = x2 + 2 = 0
                             11
                                                                   4
                                                                              x
                              0
     -2            -1              0                1         2        3
      -1.75             -0.3040               0.5                          3.142
                              -1




          Oscillations near Local Maxima or Minima
18

More Related Content

What's hot

Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula Deep Dalsania
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationAinul Islam
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical IntegrationTausif Shahanshah
 
simpion's 3/8 rule
simpion's 3/8 rulesimpion's 3/8 rule
simpion's 3/8 rulesharma230399
 
Newton Raphson Method
Newton Raphson MethodNewton Raphson Method
Newton Raphson MethodBarkha Gupta
 
Newton raphson
Newton raphsonNewton raphson
Newton raphsonbaxter89
 
Simpson's rule of integration
Simpson's rule of integrationSimpson's rule of integration
Simpson's rule of integrationVARUN KUMAR
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and IntegrationMeenakshisundaram N
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodMeet Nayak
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Viraj Patel
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functionsTarun Gehlot
 
Newton Forward Difference Interpolation Method
Newton Forward Difference Interpolation MethodNewton Forward Difference Interpolation Method
Newton Forward Difference Interpolation MethodAdeel Rasheed
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydineshDinesh Kumar
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iterationIsaac Yowetu
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rulehitarth shah
 

What's hot (20)

Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and Integration
 
BISECTION METHOD
BISECTION METHODBISECTION METHOD
BISECTION METHOD
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
 
Bisection method
Bisection methodBisection method
Bisection method
 
simpion's 3/8 rule
simpion's 3/8 rulesimpion's 3/8 rule
simpion's 3/8 rule
 
Newton Raphson Method
Newton Raphson MethodNewton Raphson Method
Newton Raphson Method
 
Newton raphson
Newton raphsonNewton raphson
Newton raphson
 
Simpson's rule of integration
Simpson's rule of integrationSimpson's rule of integration
Simpson's rule of integration
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and Integration
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Newton Forward Difference Interpolation Method
Newton Forward Difference Interpolation MethodNewton Forward Difference Interpolation Method
Newton Forward Difference Interpolation Method
 
Bisection method
Bisection methodBisection method
Bisection method
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydinesh
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iteration
 
Bisection method
Bisection methodBisection method
Bisection method
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rule
 
Jacobi method
Jacobi methodJacobi method
Jacobi method
 

Similar to Newton-Raphson Method

Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Mel Anthony Pepito
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Matthew Leingang
 
Amth250 octave matlab some solutions (1)
Amth250 octave matlab some solutions (1)Amth250 octave matlab some solutions (1)
Amth250 octave matlab some solutions (1)asghar123456
 
Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Kuan-Lun Wang
 
Computational mathematic
Computational mathematicComputational mathematic
Computational mathematicAbdul Khaliq
 
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 etcRiyandika Jastin
 
Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...
Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...
Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...MarcelloSantosChaves
 
Manage your expectation
Manage your expectationManage your expectation
Manage your expectationGregory Rho
 
Clase de matlab
Clase de matlabClase de matlab
Clase de matlabDeyBarreto
 

Similar to Newton-Raphson Method (20)

Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)
 
Ism et chapter_3
Ism et chapter_3Ism et chapter_3
Ism et chapter_3
 
Ism et chapter_3
Ism et chapter_3Ism et chapter_3
Ism et chapter_3
 
Ism et chapter_3
Ism et chapter_3Ism et chapter_3
Ism et chapter_3
 
Amth250 octave matlab some solutions (1)
Amth250 octave matlab some solutions (1)Amth250 octave matlab some solutions (1)
Amth250 octave matlab some solutions (1)
 
1st 2practice
1st 2practice1st 2practice
1st 2practice
 
Application of derivative
Application of derivativeApplication of derivative
Application of derivative
 
Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Calculus First Test 2011/10/20
Calculus First Test 2011/10/20
 
Computational mathematic
Computational mathematicComputational mathematic
Computational mathematic
 
Lesson 22: Graphing
Lesson 22: GraphingLesson 22: Graphing
Lesson 22: Graphing
 
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
 
Lesson 22: Graphing
Lesson 22: GraphingLesson 22: Graphing
Lesson 22: Graphing
 
Ch33 11
Ch33 11Ch33 11
Ch33 11
 
Limits
LimitsLimits
Limits
 
Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...
Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...
Profº. Marcelo Santos Chaves - Cálculo I (Limites e Continuidades) - Exercíci...
 
Manage your expectation
Manage your expectationManage your expectation
Manage your expectation
 
Clase de matlab
Clase de matlabClase de matlab
Clase de matlab
 
Clase de matlab
Clase de matlabClase de matlab
Clase de matlab
 
Ex algebra (5)
Ex algebra  (5)Ex algebra  (5)
Ex algebra (5)
 

Recently uploaded

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 functionsKarakKing
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
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.pdfAdmir Softic
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
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Ữ Â...Nguyen Thanh Tu Collection
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 

Recently uploaded (20)

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
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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Ữ Â...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Newton-Raphson Method

  • 1. Roots of a Nonlinear Equation Topic: Newton-Raphson Method Major: General Engineering 07/20/09 http://numericalmethods.eng.usf.edu 1
  • 2. Newton-Raphson Method f(x) f(xi ) f(xi) [x f( x )] xi +1 = xi - i, i ′ f (xi ) f(xi-1) θ xi+2 xi+1 xi X 2
  • 3. Derivation f(x) AB tan(α ) = AC f(xi) B f ( xi ) f ' ( xi ) = xi − xi +1 f ( xi ) xi +1 = xi − C α A X f ' ( xi ) xi+1 xi 3
  • 4. Algorithm for Newton- Raphson Method 4
  • 5. Step 1 Evaluate f′(x) symbolically 5
  • 6. Step 2 Calculate the next estimate of the root f(xi ) xi +1 = xi - f'(xi ) Find the absolute relative approximate error xi +1- xi ∈a = x 100 xi +1 6
  • 7. Step 3  Find if the absolute relative approximate error is greater than the pre-specified relative error tolerance.  If so, go back to step 2, else stop the algorithm.  Also check if the number of iterations has exceeded the maximum number of iterations. 7
  • 8. Example  You are working for ‘DOWN THE TOILET COMPANY’ that makes floats for ABC commodes. The ball has a specific gravity of 0.6 and has a radius of 5.5 cm. You are asked to find the distance to which the ball will get submerged when floating in water. 8
  • 9. Solution The equation that gives the depth ‘x’ to which the ball is submerged under water is given by f ( x ) = x 3-0.165 x 2+3.993x10- 4 f ( x ) = 3x 2-0.33x Use the Newton’s method of finding roots of equations to find the depth ‘x’ to which the ball is submerged under water. Conduct three iterations to estimate the root of the above equation. 9
  • 10. Graph of function f(x) f ( x ) = x -0.165 x +3.993x10 3 2 -4 10
  • 11. Iteration #1 x0 = 0.02 f ( x0 ) x1 = x0 − f ' ( x0 ) 3.413x10−4 x1 = 0.02 − − 5.4 x10−3 = 0.08320 ∈ = 75.96% a 11
  • 12. Iteration #2 x1 = 0.08320 f ( x1 ) x2 = x1 − f ' ( x1 ) −1.670x10 −4 x2 = 0.08320 − − 6.689 x10 −3 = 0.05824 ∈ = 42.86% a 12
  • 13. Iteration #3 x2 = 0.05824 f ( x2 ) x3 = x2 − f ' ( x2 ) 3.717 x10−5 = 0.05284 − − 9.043x10−3 = 0.06235 ∈ = 6.592% a 13
  • 14. Advantages  Converges fast, if it converges  Requires only one guess 14
  • 15. Drawbacks 10 f(x) 5 0 x -2 -1 2 0 3 1 2 1 -5 f ( x ) = ( x − 1) = 0 -10 3 -15 -20 Inflection Point 15
  • 16. Drawbacks (continued) 1.00E-05 f(x) 7.50E-06 5.00E-06 2.50E-06 0.00E+00 x -0.03 -0.02 -0.01 0 0.01 0.02 0.03 0.04 -2.50E-06 0.02 -5.00E-06 f ( x ) = x 3 − 0.03 x 2 + 2.4 x10 −6 = 0 -7.50E-06 -1.00E-05 Division by zero 16
  • 17. Drawbacks (continued) 1.5 f(x) 1 0.5 x 0 -2 -0.063069 0.54990 0 2 4 4.462 6 7.53982 8 10 -0.5 -1 f ( x ) = Sin x = 0 -1.5 Root Jumping 17
  • 18. Drawbacks (continued) 6 f(x) 5 4 3 3 2 2 f ( x) = x2 + 2 = 0 11 4 x 0 -2 -1 0 1 2 3 -1.75 -0.3040 0.5 3.142 -1 Oscillations near Local Maxima or Minima 18