SlideShare ist ein Scribd-Unternehmen logo
1 von 18
By: ZAHRA SAMAN
In numerical analysis, the secant method is a root-
finding algorithm that uses a succession of roots of
secant lines to better approximate a root of a function
f. The secant method can be thought of as a finite-
difference approximation of Newton's method.
However, the method was developed independently of
New Secant method is considered to be the most
effective approach to find the root of a non-linear
function. It is a generalized from the Newton-Raphson
method and does not require obtaining the derivatives
of the function. So, this method is generally used as an
alternative to Newton Raphson method.ton's method
and predates it by over 3000 years.
No. of initial guesses –
Type – open bracket
Rate of convergence – faster
Convergence – super linear
Accuracy – good
Approach – interpolation
Programming effort – tedious
1.Start
2. Get values of x0, x1 and e *Here x0 and x1 are the two
initial guesses e is the stopping criteria, absolute error
or the desired degree of accuracy*
3. Compute f(x0) and f(x1)
4. Compute x2 = [x0*f(x1) – x1*f(x0)] / [f(x1) – f(x0)]
5. Test for accuracy of x2 If [ (x2 – x1)/x2 ] > e, *Here [ ]
is used as modulus sign* then assign x0 = x1 and x1 = x2
go to step 4 Else, go to step 6
6. Display the required root as x2.
7. Stop
Starting with initial values x0 and x1, we construct a
line through the points (x0, f(x0)) and (x1, f(x1))
Assume x0 and x1 to be the initial guess values, and
construct a secant line to the curve through (x0, f(x0))
and (x1, f(x1)). The equation of this secant line is given
by
If x be the root of the given equation, it must satisfy:
f(x) = 0 or y= 0. Substituting y = 0 in the above
equation, and solving for x, we get:
Now, considering this new x as x2, and repeating the
same process for x2, x3, x4, . . . . we end up with the
following expressions:
this is the required formula which can also be used in
matlab.
The iterates xn of the secant method converge to a root of f, if
the initial values x0 and x1 are sufficiently close to the root. The
order of convergence is φ, where
In particular, the convergence is superlinear, but not quite
quadratic. This result only holds under some technical
conditions, namely that f be twice continuously differentiable
and the root in question be simple. If the initial values are not
close enough to the root, then there is no guarantee that the
secant method converges. For example, if f is differentiable on
that interval and there is a point where f’=0 on the interval,
then the algorithm may not converge
The secant method does not always converge. The
false position method (or regula falsi) uses the same
formula as the secant method. However, it does not
apply the formula on (xn-1) and (xn-2), like the secant
method, but on (xn-1) and on the last iterate xk such
that f(xk) and f(xn1) have a different sign. This means
that the false position method always converges. The
recurrence formula of the secant method can be
derived from the formula for Newton's method
If we compare Newton's method with the secant method,
we see that Newton's method converges faster (order 2
against φ ≈ 1.6). However, Newton's method requires the
evaluation of both f and its derivative f’ at every step, while
the secant method only requires the evaluation of f.
Therefore, the secant method may occasionally be faster in
practice.
For instance, if we assume that evaluating f takes as much
time as evaluating its derivative and we neglect all other
costs, we can do two steps of the secant method
(decreasing the logarithm of the error by a factor φ 2 ≈ 2.6)
for the same cost as one step of Newton's method
(decreasing the logarithm of the error by a factor 2), so the
secant method is faster. If, however, we consider parallel
processing for the evaluation of the derivative, Newton's
method proves its worth, being faster in time, though still
spending more steps.
BROYDEN’S METHOD is a generalization of the
secant method to more than one dimension The
following graph shows the function f in red and the
last secant line in bold blue. In the graph, the x
intercept of the secant line seems to be a good
approximation of the root of f
As an example of the secant method, suppose we wish
to find a root of the function:
f(x) = cos(x) + 2 sin(x) + x 2 we use a numerical
technique. We will use x0 = 0 and x1 = -0.1 as our initial
approximations. We will let the two values Δstep =
0.001 and Δabs = 0.001 and we will halt after a
maximum of N = 100 iterations. We will use four
decimal digit arithmetic to find a solution and the
resulting iteration is shown in Table 1.
Table 1. The secant method applied to
f(x) = cos(x) + 2 sin(x) + x 2 .
1. It converges at faster than a linear rate, so that it is
more rapidly convergent than the bisection
method.
2. It does not require use of the derivative of the
function, something that is not available in a
number of applications.
3. It requires only one function evaluation per
iteration, as compared with Newton’s method
which requires two.
1. It may not converge.
2. There is no guaranteed error bound for the
computed iterates.
3. It is likely to have difficulty if f0 (α) = 0. This
means the x-axis is tangent to the graph of y = f(x)
at x = α
4. Newton’s method generalizes more easily to new
methods for solving simultaneous systems of
nonlinear equations.
1. The method fails to converge when f(xn) = f(xn-1)
2. If X-axis is tangential to the curve, it may not
converge to the solution.
Secant method

Weitere Àhnliche Inhalte

Was ist angesagt?

Numerical method
Numerical methodNumerical method
Numerical methodKumar Gaurav
 
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 equationsRifat Rahamatullah
 
Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Asad Ali
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methodsTarun Gehlot
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodBijay Mishra
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.Abu Kaisar
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton RaphsonNasima Akhtar
 
Numerical solutions of algebraic equations
Numerical solutions of algebraic equationsNumerical solutions of algebraic equations
Numerical solutions of algebraic equationsAvneet Singh Lal
 
Error Finding in Numerical method
Error Finding in Numerical methodError Finding in Numerical method
Error Finding in Numerical methodFazle Rabbi Ador
 
Bisection method
Bisection methodBisection method
Bisection methodTirth Parmar
 
False Point Method / Regula falsi method
False Point Method / Regula falsi methodFalse Point Method / Regula falsi method
False Point Method / Regula falsi methodNasima Akhtar
 
Bisection method
Bisection methodBisection method
Bisection methodIsaac Yowetu
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical IntegrationTausif Shahanshah
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equationsZunAib Ali
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationMohammed_AQ
 
numerical methods
numerical methodsnumerical methods
numerical methodsHaiderParekh1
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Syed Ahmed Zaki
 

Was ist angesagt? (20)

Numerical method
Numerical methodNumerical method
Numerical 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
 
Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2
 
Secant Method
Secant MethodSecant Method
Secant Method
 
Unit4
Unit4Unit4
Unit4
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
 
Numerical solutions of algebraic equations
Numerical solutions of algebraic equationsNumerical solutions of algebraic equations
Numerical solutions of algebraic equations
 
Error Finding in Numerical method
Error Finding in Numerical methodError Finding in Numerical method
Error Finding in Numerical method
 
Bisection method
Bisection methodBisection method
Bisection method
 
False Point Method / Regula falsi method
False Point Method / Regula falsi methodFalse Point Method / Regula falsi method
False Point Method / Regula falsi method
 
Bisection method
Bisection methodBisection method
Bisection method
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)
 

Ähnlich wie Secant method

Newton paper.docx
Newton  paper.docxNewton  paper.docx
Newton paper.docxnitmor1
 
B02110105012
B02110105012B02110105012
B02110105012theijes
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabsheetslibrary
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabZunAib Ali
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...mathsjournal
 
Calc 3.8
Calc 3.8Calc 3.8
Calc 3.8hartcher
 
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...mathsjournal
 
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...Stephen Faucher
 
OPERATIONS RESEARCH
OPERATIONS RESEARCHOPERATIONS RESEARCH
OPERATIONS RESEARCHMakaha Rutendo
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...mathsjournal
 
ROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSfenil patel
 
83662164 case-study-1
83662164 case-study-183662164 case-study-1
83662164 case-study-1homeworkping3
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...mathsjournal
 
Roots of equations
Roots of equationsRoots of equations
Roots of equationsMileacre
 
Roots of equations
Roots of equationsRoots of equations
Roots of equationsMileacre
 
Equations root
Equations rootEquations root
Equations rootMileacre
 

Ähnlich wie Secant method (20)

Newton paper.docx
Newton  paper.docxNewton  paper.docx
Newton paper.docx
 
B02110105012
B02110105012B02110105012
B02110105012
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
 
Calc 3.8
Calc 3.8Calc 3.8
Calc 3.8
 
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
 
S3-3.pdf
S3-3.pdfS3-3.pdf
S3-3.pdf
 
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
 
OPERATIONS RESEARCH
OPERATIONS RESEARCHOPERATIONS RESEARCH
OPERATIONS RESEARCH
 
Newton
NewtonNewton
Newton
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
 
Lecture6
Lecture6Lecture6
Lecture6
 
ROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONS
 
83662164 case-study-1
83662164 case-study-183662164 case-study-1
83662164 case-study-1
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Equations root
Equations rootEquations root
Equations root
 

KĂŒrzlich hochgeladen

Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptxkhadijarafiq2012
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxpradhanghanshyam7136
 
CALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service đŸȘĄ
CALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  đŸȘĄCALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  đŸȘĄ
CALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service đŸȘĄanilsa9823
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PPRINCE C P
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSĂ©rgio Sacani
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Stunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSĂ©rgio Sacani
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 

KĂŒrzlich hochgeladen (20)

Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptx
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptx
 
CALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service đŸȘĄ
CALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  đŸȘĄCALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  đŸȘĄ
CALL ON ➄8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service đŸȘĄ
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C P
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Stunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➄8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 

Secant method

  • 2. In numerical analysis, the secant method is a root- finding algorithm that uses a succession of roots of secant lines to better approximate a root of a function f. The secant method can be thought of as a finite- difference approximation of Newton's method. However, the method was developed independently of New Secant method is considered to be the most effective approach to find the root of a non-linear function. It is a generalized from the Newton-Raphson method and does not require obtaining the derivatives of the function. So, this method is generally used as an alternative to Newton Raphson method.ton's method and predates it by over 3000 years.
  • 3. No. of initial guesses – Type – open bracket Rate of convergence – faster Convergence – super linear Accuracy – good Approach – interpolation Programming effort – tedious
  • 4. 1.Start 2. Get values of x0, x1 and e *Here x0 and x1 are the two initial guesses e is the stopping criteria, absolute error or the desired degree of accuracy* 3. Compute f(x0) and f(x1) 4. Compute x2 = [x0*f(x1) – x1*f(x0)] / [f(x1) – f(x0)] 5. Test for accuracy of x2 If [ (x2 – x1)/x2 ] > e, *Here [ ] is used as modulus sign* then assign x0 = x1 and x1 = x2 go to step 4 Else, go to step 6 6. Display the required root as x2. 7. Stop
  • 5.
  • 6. Starting with initial values x0 and x1, we construct a line through the points (x0, f(x0)) and (x1, f(x1)) Assume x0 and x1 to be the initial guess values, and construct a secant line to the curve through (x0, f(x0)) and (x1, f(x1)). The equation of this secant line is given by If x be the root of the given equation, it must satisfy: f(x) = 0 or y= 0. Substituting y = 0 in the above equation, and solving for x, we get:
  • 7. Now, considering this new x as x2, and repeating the same process for x2, x3, x4, . . . . we end up with the following expressions: this is the required formula which can also be used in matlab.
  • 8. The iterates xn of the secant method converge to a root of f, if the initial values x0 and x1 are sufficiently close to the root. The order of convergence is φ, where In particular, the convergence is superlinear, but not quite quadratic. This result only holds under some technical conditions, namely that f be twice continuously differentiable and the root in question be simple. If the initial values are not close enough to the root, then there is no guarantee that the secant method converges. For example, if f is differentiable on that interval and there is a point where f’=0 on the interval, then the algorithm may not converge
  • 9. The secant method does not always converge. The false position method (or regula falsi) uses the same formula as the secant method. However, it does not apply the formula on (xn-1) and (xn-2), like the secant method, but on (xn-1) and on the last iterate xk such that f(xk) and f(xn1) have a different sign. This means that the false position method always converges. The recurrence formula of the secant method can be derived from the formula for Newton's method
  • 10. If we compare Newton's method with the secant method, we see that Newton's method converges faster (order 2 against φ ≈ 1.6). However, Newton's method requires the evaluation of both f and its derivative f’ at every step, while the secant method only requires the evaluation of f. Therefore, the secant method may occasionally be faster in practice. For instance, if we assume that evaluating f takes as much time as evaluating its derivative and we neglect all other costs, we can do two steps of the secant method (decreasing the logarithm of the error by a factor φ 2 ≈ 2.6) for the same cost as one step of Newton's method (decreasing the logarithm of the error by a factor 2), so the secant method is faster. If, however, we consider parallel processing for the evaluation of the derivative, Newton's method proves its worth, being faster in time, though still spending more steps.
  • 11. BROYDEN’S METHOD is a generalization of the secant method to more than one dimension The following graph shows the function f in red and the last secant line in bold blue. In the graph, the x intercept of the secant line seems to be a good approximation of the root of f
  • 12.
  • 13. As an example of the secant method, suppose we wish to find a root of the function: f(x) = cos(x) + 2 sin(x) + x 2 we use a numerical technique. We will use x0 = 0 and x1 = -0.1 as our initial approximations. We will let the two values Δstep = 0.001 and Δabs = 0.001 and we will halt after a maximum of N = 100 iterations. We will use four decimal digit arithmetic to find a solution and the resulting iteration is shown in Table 1. Table 1. The secant method applied to f(x) = cos(x) + 2 sin(x) + x 2 .
  • 14.
  • 15. 1. It converges at faster than a linear rate, so that it is more rapidly convergent than the bisection method. 2. It does not require use of the derivative of the function, something that is not available in a number of applications. 3. It requires only one function evaluation per iteration, as compared with Newton’s method which requires two.
  • 16. 1. It may not converge. 2. There is no guaranteed error bound for the computed iterates. 3. It is likely to have difficulty if f0 (α) = 0. This means the x-axis is tangent to the graph of y = f(x) at x = α 4. Newton’s method generalizes more easily to new methods for solving simultaneous systems of nonlinear equations.
  • 17. 1. The method fails to converge when f(xn) = f(xn-1) 2. If X-axis is tangential to the curve, it may not converge to the solution.