finding root of any polynomail using Newton Raphson method

finding root of any polynomial using Newton Raphson method
1.2K Downloads
Updated 26 Sep 2010

View License

*copy the file to your current directory.

Example-
If you want to find a root of
f(x)=6x^3+8x^2-3x^1+78,
write the command-

find_root([78 -3 8 6]);

on MATLAB command window.

*If you want to find another root, change the 100 in,
x=100; (4th line of find_root.m file) to another value as your preference and
rerun
find_root([78 -3 8 6]); command.

*for further details about the algorithm used to calculate
roots. refer

http://en.wikipedia.org/wiki/Newton%27s_method

Cite As

Dimuthu Senanayaka (2024). finding root of any polynomail using Newton Raphson method (https://www.mathworks.com/matlabcentral/fileexchange/28836-finding-root-of-any-polynomail-using-newton-raphson-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

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