
Learn how to find roots of equations using the bisection method, and compare it with Newton's method, by implementing from scratch in Python and MATLAB.
Implement the bisection method in python, define a and b, check f(a) and f(b) signs, iterate with midpoint c, and apply tolerance and max iterations for robust root finding.
Demonstrate bisection in matlab with a function that accepts a, b, tolerance, and max iterations to find the root of x^2 - x - 1, the golden ratio.
Explore the secant method by drawing a line through two points and using the zero crossing as the next root estimate. Relate it to bisection and note faster convergence.
Implement the secant method in python by converting a bisection routine, updating c with a*F(b) - b*F(a) over F(b) - F(a), using F values to converge toward root near 1.618.
Demonstrates implementing the secant method in MATLAB by copying and renaming files, updating the update rule, calling the new function to solve an equation, and verifying the result.
Apply Newton's method to locate roots via tangent line approximation, updating x1 from x0 by x1 = x0 - f(x0)/f'(x0); it can converge fast but offers no guarantees.
Implement the newton-raphson method in python with numerical derivative via central difference to solve x^2 - x - 1, starting at 2, tolerance 1e-10, max iterations 200.
Implement the Newton-Raphson method in matlab to find roots by iterating x = x - f(x)/f'(x), using a starting point, tolerance, and max iterations with convergence checks.
This series of video tutorials covers the numerical methods for Root Finding (Solving Algebraic Equations) from theory to implementation. In this course, three methods are reviewed and implemented using Python and MATLAB from scratch.
At first, two interval-based methods, namely Bisection method and Secant method, are reviewed and implemented. Then, a point-based method which is known as Newton's method for root finding, a.k.a. Newton–Raphson method, is reviewed and implemented. This course is instructed by Dr. Mostapha Kalami Heris, who has years of practical work and active teaching in the field of programming, mathematics, control engineering and computational intelligence.
By the end of this course you will be able to know about the fundamental theory of this root finding methods and implementing them using Python and MATLAB programming languages.