A call of the form root - fzero39f39 xo can be used to


Question: A call of the form root - fzero('f' ,xO) can be used to compute a zero of the function I(x) near x = xo. Write a MATLAB function z - cubeRoot (a) that uses fzero to compute the cube root of a. (You cannot just set z - z-(1/3).) Notice that if x is the cube root of a then x 3 = a. You may assume that 1 ~ a ~ 8 and that (6 +a)/7 is a good initial guess for the required root.

Hint: You will have to write a second function whose name is passed to fzero. Be sure to indicate clearly any global variables that are required by your solution.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: A call of the form root - fzero39f39 xo can be used to
Reference No:- TGS02271733

Expected delivery within 24 Hours