0% found this document useful (0 votes)
28 views12 pages

University Institute of Engineering Department of Computer Science and Engineering

Computer Vision

Uploaded by

Aman Vox
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views12 pages

University Institute of Engineering Department of Computer Science and Engineering

Computer Vision

Uploaded by

Aman Vox
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

UNIVERSITY INSTITUTE OF

ENGINEERING
DEPARTMENT OF COMPUTER SCIENCE
AND ENGINEERING

Numerical Methods and Optimization Using


Python DISCOVER . LEARN . EMPOWER
Course Code- 22CSH-259/22ITH-259
Dr. Hardeep Kaur (15828)
Secant Method

• Introduction

• The Secant Method is a numerical technique used to find the roots of a real-
valued function. It is similar to the Newton-Raphson method but does not require
the computation of the derivative of the function. Instead, it uses a sequence of
secant lines, which are lines that intersect the graph of the function at two points,
to approximate the root. This method is especially useful when the derivative of
the function is difficult to compute.

2
Basic Principle

3
4
5
Pseudocode

Here's a simple pseudocode representation of the Secant Method:

6
7
8
Advantages and Disadvantages

• Advantages:
• No Derivative Required: The method does not require the computation of the derivative,
making it suitable for functions where the derivative is difficult or impossible to compute.
• Simplicity: The formula is straightforward and easy to implement.
• Faster Convergence: Generally converges faster than the Bisection Method.

• Disadvantages:
• Initial Guess Sensitivity: The method requires two initial guesses that should be reasonably
close to the actual root for faster convergence.
• Convergence Issues: The method may not converge if the function is not well-behaved
between the initial guesses or if the secant line becomes nearly horizontal.
• Multiple Roots: The method can sometimes be unreliable near multiple roots.

9
Applications

• The Secant Method is widely used in various scientific and engineering fields for solving
nonlinear equations where the derivative of the function is not readily available. It is
particularly useful in root-finding problems and numerical simulations.

10
Conclusion

• The Secant Method is an effective and efficient root-finding technique that does not require
the computation of derivatives. Its simplicity and relatively fast convergence make it a
valuable tool in numerical analysis, especially when dealing with complex functions. However,
careful selection of initial guesses is crucial for the method's success and reliability.

11
THANK YOU

12

You might also like