Question
MATLAB problems Problem 5. Write a MATLAB program not using built-in functions that finds the root of the polynomial f(x) = 2x 3 +7x 2
MATLAB problems
Problem 5. Write a MATLAB program not using built-in functions that finds the root of the polynomial f(x) = 2x3+7x2+14x+3 in the interval [-1,1] by the following methods.
a) Bisection b) Regula Falsi c) Modified Regula Falsi, d) Newton e) Secant.
Use a nested formula for the polynomial evaluation, double precision and an error tolerance for the root of 1/2x10-14.
Report the number of steps to reach the error tolerance for each method.
For the Newton and Secant methods make a Table showing the root approximations for each step until convergence. Try a few starting points. How sensitive is the number of iterations to the choice of starting point(s).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started