Question: Requirements for the Functions ( Two Files ) : Use the knowledge you obtained from Lab 2 and Lab 3 to create a root -
Requirements for the Functions Two Files:
Use the knowledge you obtained from Lab and Lab to create a rootfinding function
based on the Secant Method; the function should take all the necessary inputs and return the
Root and Number of Iterations.
Use the knowledge you obtained from Lab and Lab to create a rootfinding function
based on the FixedPoint Iteration; the function should take all the necessary inputs and
return the Root and Number of Iterations.
Requirements for the Script:
Create a MATLAB script that finds one of the roots of the following function:
Use fplot to plot this function.
Using one of the functions you created Secant or Fixed point
Using one of the textbook functions from Lab
Using one of the MATLAB builtin functions
Compare all these methods in terms of the Root value, the number of iterations, and the
time taken to get the root Hint: Use tic toc
Provide code in detail for each step with sample output pls
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
