Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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