Bisection Method | Programming Numerical Methods in MATLAB (2018)

Download the MATLAB code file from: https://goo.gl/9gMtqL
For more methods and codes: https://goo.gl/uEoGuJ

In this video tutorial, the algorithm and MATLAB programming steps of finding the roots of a nonlinear equation by using bisection method are explained.

• Views:11,815 views
• Rating:
•  Click on the stars above to rate this page
• Categories:
• Tags:

Sihem Princess says:

Thanks ever so much for your help.
Please, i have questions about the MATLAB code used for the bisection method:
1- Does the keyword “return” mean skipping from if and whole program (for example from line 6 to the end of the program)? and what is the difference between it and break?
2- You did not use nested if because there is no relation between conditions?
3- Could we start with this condition y(x2)*y(xh) instead of y(x1)*y(xh)?

Zhiwar Sami says:

Thanks very much. You are really the best

Ar-ar Malik says:

Can you make a functions of this? I mean that program allows to enter any equation to solve the root?

karim electronics says:

Thank you for this helpful video.
What if we want to use while loop. What will be the condition inside the while?