Question: Secant Method ( use initial guesses x = 0 . 5 and x = 0 . 6 ) Each method should iterate until the absolute
Secant Method use initial guesses and
Each method should iterate until the absolute relative error is less than or equal to For each, have
the script clearly display as output to the command window your choice of method just make sure it is
clear what the numeric values represent
Estimated root value
Absolute relative error
Number of iterations required to converge
Check to make sure your results look reasonable. You can plot the function and estimate the roots from
graphical inspection, or use a builtin MATLAB function to check do not include this in your script, just
do it to double check your work
I recommend the use of anonymous functions to represent the equation and derivative in your script,
but explicitly writing the function in the appropriate commands is also fine.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
