Solve Nonlinear Equation Numerically
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.
引用格式
Hassan Najjar (2024). Solve Nonlinear Equation Numerically (https://www.mathworks.com/matlabcentral/fileexchange/39856-solve-nonlinear-equation-numerically), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |