RootFinding Demo
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This is a demo of root-finding using Newton’s Method. The user can enter an arbitrary function, along with an initial guess, and then each successive interation of Newton’s method is shown. In addition to simply entering the initial guess with the keyboard, the initial guess may be dragged around using the mouse, and the resulting graph will update dynamically. This provides a unique and compelling way to understand the important relationship between the initial guess and the outcome of the root-finding procedure.
Cite As
Teja Muppirala (2024). RootFinding Demo (https://www.mathworks.com/matlabcentral/fileexchange/41736-rootfinding-demo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.