Solve Nonlinear Equation Numerically

Four different methods for numerically solving nonlinear equations.
2.3K Downloads
Updated 15 Jan 2013

View License

This archive contains four different functions for solving nonlinear equations. Including Newton-Raphson, Fixed-point, Secant, & Bisection methods. This work was part of my coursework in an undergrad course on Numerical Methods. It includes timing and table printouts for analysis and comparison. There is a lot of observations you can make: for example, for a particular equation, one method might run the least number of iterations, while another will run more iterations but compute fastest. Of course how efficient my code is comes into play as well but that's something you can tweak with, too. If I had the time I would design an interactive application comparing the number of iterations and time-lapse for each method, etc. That would make it a powerful tool educationally & for analytical purposes.

Cite As

Hassan Najjar (2024). Solve Nonlinear Equation Numerically (https://www.mathworks.com/matlabcentral/fileexchange/39856-solve-nonlinear-equation-numerically), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Mathematics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0