Question: Write a MATLAB program to calculate and print the roots of the polynomial P (the values of x where the polynomial is zero). Call the
Write a MATLAB program to calculate and print the roots of the polynomial P (the values of x where the polynomial is zero). Call the function newton to calculate the roots. Scan the x axis from 0 to 5 in steps of 1 to look for the roots. Use 1e-7 as the accuracy factor. The output of this program should look like this: = 1.38462 = 2.57143 = 3.37500 = 4.00000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
