Question: Using Mathlab Develop a Matlab function file for the modified secant method. This function will take input of the function, initial guess, perturbation fraction, acceptable
Using Mathlab

Develop a Matlab function file for the modified secant method. This function will take input of the function, initial guess, perturbation fraction, acceptable error and maximum iteration and give output as the root, approximate error and number of iteration. You could use the newtraph.m file that has been shared with you on Canvas. Save your function file as lastnamemodsec.m To test your code, you will need to find all of the roots for the following functions: 1. f(x)= x3 6x2 +11x 6.1. use perturbation value, 8 = 0.01 x1 = ............................, X2 = ......... .........., X3 = .. 2. Give me another arbitrary function that you used to test your code together with the required parameters (e.g. initial guess and perturbation value). f(x) = Parameters = Root =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
