Question: USing MATLAB, 3) Apply the MATLAB built-in function [rootest, fval]-fzero(func', initialguess) to compute the roots for the following functions. This function runs a relatively stable

USing MATLAB, USing MATLAB, 3) Apply the MATLAB built-in function [rootest, fval]-fzero(func', initialguess) to

3) Apply the MATLAB built-in function [rootest, fval]-fzero(func', initialguess) to compute the roots for the following functions. This function runs a relatively stable algorithm of root-finding procedures discussed in class. a) In a script file, compute the root of f(x)-ing ftero with initial guesses x5 and x, 5+1010. For each initial guess, show the values of rootest and fval, and use these to compute and show the forward and backward absolute errors for each initial guess, using the ionned by postroples he ouputs are the final roo stimate and f() evaluted at this stimatUse o for he exponential function. b) In the same script, repeat what you did in part (a), but this time for f(x) = e4--2e' + 2e'. 1 , using the same exact root you used in part (a) c) Determine the multiplicity of the root for both f(x)-e1 and f(x) = e4x-4-2e3x-3 + 2es 1-1 . Carefully explain the results you get from parts (a) and (b). How does the multiplicity affect the relationship between the forward and backward errors, and the reliability of the backward error measure? How does the change in input (initial guess) affect the change in output in the first function versus the second function, and why

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!