Question: 4.) Bi-Section Method Find the roots of f(x) = x 2 100 using the Bi-Section Method. (a)Create a Matlab function MyBiSectionMethod.m that returns the final

4.) Bi-Section Method Find the roots of f(x) = x2 100 using the Bi-Section Method.

(a)Create a Matlab function MyBiSectionMethod.m that returns the final value of x and requires as an input only a lower bound, an upper bound, and the total number of iterations N. Please use only a for-loop to solve this problem.

(b)Write a Matlab Script entitled ExecuteMyBiSectionMethod.m that executes MyBiSectionMethod.m with xlow= 0, xup= 20, and N = 1000.

(c)Write a Matlab Script entitled ExecuteMyBiSectionMethod2.m that executes MyBiSectionMethod.m with xlow= 0, xup= 20, but also plots at the end of the program the evolution of x with increasing number of iterations(i.e. plot the value of x in a Matlab plot vs the iteration step).

Please answer all parts of the question.

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!