Question: Part 1 . 2 : Exploring the relationship between tolerance and iterations * * As your tolerance gets smaller ( i . e . ,

Part 1.2: Exploring the relationship between tolerance and iterations
** As your tolerance gets smaller (i.e., 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 RootFinder_P1, write code that automatically creates a plot of iter vs tol for the bisection method. The value of tol will vary over the range 1e-10 and 1e-5, and I suggest using the function log space to create a good distribution of tol values (I suggest making at least 50 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 x-axis (tol axis).
The code for both Part 1.1 and Part 1.2 should be placed in RootFinder_P1.m
 Part 1.2: Exploring the relationship between tolerance and iterations ** As

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!