Question: Part 1 . 2 : Exploring the relationship between tolerance and iterations * * As your tolerance gets smaller ( i . e . ,
Part : Exploring the relationship between tolerance and iterations
As your tolerance gets smaller ie as tol decreases the number of iterations generally will increase. Using MATLAB, you will create a plot of the number of iterations iter vs tol for the bisection method.
At the end of RootFinderP write code that automatically creates a plot of iter vs tol for the bisection method. The value of tol will vary over the range and and I suggest using the function log space to create a good distribution of tol values I suggest making at least tol values You will calculate the number of iterations required at each tol value. Add labels for both axes and use a log scale for the axis tol axis
The code for both Part and Part should be placed in RootFinderPm
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
