Be the first to rate this file! 9 Downloads (last 30 days) File Size: 1.29 KB File ID: #28836
image thumbnail

finding root of any polynomail using Newton Raphson method

by Dimuthu Senanayaka

 

26 Sep 2010

finding root of any polynomial using Newton Raphson method

| Watch this File

File Information
Description

*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

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
11 Nov 2010 misha

hello there,
i need help in the following topic
write a matlab program for using the newton raphson method
Xk+1 = xk – f(xk)/f’(xk)
for finding the 1 root of the general polynomial
f(x) = a1 + a2x + a3x2 +...+ an-1xn-2 + anxn-1 + an+1xn

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
mathematics Dimuthu Senanayaka 27 Sep 2010 10:01:22

Contact us at files@mathworks.com