Question: Our Professore gave us this code, but when I put it in MATLAB it doesn't work,It shows me an error. Can you write it in


1482. Finding rooty of functions ty valne bracketine methods EDUso inciearchi (x)sin(10x)+cos(3x],3,61 number of brackets: 5 ans=3.24493.30613.73474.65315.63273.30613.36733.79594.71435.6939 EoUs> incuearchfe (x)sin(10x)+cos(3x),3,6,100) number of beackets: 9 ans n 3.24243.36363.72734.21214.24244.69705.15155.18185.66673.27273.39393.75764.24244.27274.72735.18185.21215.6970 EDUbo [mass fx ea ster]-bisect(fmu) 40,200 ) fx= 4.6089e.07 mass = 142.7377 fx= 4.6089e07 ea= 5.3450e-05 ner * 21 EDU >x=x linspace(-10,10,200); EDU >=log(x)+5x; EDU plot (x,f) Warning: Imaginary parts of complex X and/or Y arguments ignored EDU > grid on incsearch(@(x) sin(x),pi,pi,100) number of brackets: 1 ans = 0.03170.0317 y=linspace(10,10,200); EDU >>fm=@(y) log (y)+5(y); EDU > [yolo fm ea iter]=bisect(fm, 10,10) fx= 9.1792e07 yolo = 0.2653 fm= 9.1792e07 ea= 5.6158e05 iter= 27
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
