Question: With steps please! For these problems, you should write a function file for the algorithm, and use the function in a script file to solve
For these problems, you should write a function file for the algorithm, and use the function in a script file to solve the problem. Find the minimum number of iterations required by the bisection method to guarantee that you can find the root of a function to within an absolute error of 108 if you know that the root is in the interval (1, 3). Find all the roots in [-5, 5] of f(x) = cos x + 1/x^3 + 200 using the bisection algorithm in MATLAB with a tolerance of 10^-10. Plot the function first to see how many roots there are, then run the algorithm the indicated number of times to get the roots one at a time. Turn in a code listing and the answers, printed with at least 8 significant digits. Also report the number of iterations it took to find each root
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
