Question: In the tutorial, a MATLAB function (Root_bisection) is provided for the bisection method. Write a MATLAB code called Root_falseposition that finds a root of a

 In the tutorial, a MATLAB function (Root_bisection) is provided for thebisection method. Write a MATLAB code called Root_falseposition that finds a rootof a function using the false position method - Input parameters are(1) the name of the function, (2) the initial limits for the

In the tutorial, a MATLAB function (Root_bisection) is provided for the bisection method. Write a MATLAB code called Root_falseposition that finds a root of a function using the false position method - Input parameters are (1) the name of the function, (2) the initial limits for the bracketing interval, and (3) the value of the target relative - Output is the value of the root (x), and the number of iterations required to reach the target relative error. - The function prints out the intermediate root approximations and corresponding relative error estimate. Note: Attach the MATLAB code to the .pdf report. Sub-question 4(2%24) a) Use plotfunc to produce a plot that clearly shows all six roots of the following function: f(x)=62501x6250007x5+100057x4251x3100333x2+2526x+21.24 Note: Attach the plot and the roots (using roots() built-in MATLAB function) of the final attempt to the .pdf report. b) Find the six roots using both the Bisection Method, learned in tutorial, and the False Position Method multiple times. Use a tolerance for the approximate relative error s=1104, and express your answers (of the roots) up to three decimal places. For the first root use the following interval {1001663,25531} For the second root use the following interval {50317,541} .,.. For the third root use the following interval {2047,411} {100247,2581}{50399,551} For the sixth root use the following interval {50661,50841} Note: You can compare your results with the MATLAB function roots() . Sub-question 5(10%) Analyze the results of the previous question and comment on the convergence rate and sensitivity to initial guesses for each of the methods. Note: Attach your answer to the .pdf report

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!