Hint: use plot() to visualize your function then use a while loop to "home in on" your roots with the bisection method.
hi i need help with this problem
1 次查看(过去 30 天)
显示 更早的评论
Hello i need help with this question . i can't seem to figuare how write matlab code for this , any help will be much appreciated.
*using Matlab apply the biscution routine to bisect to find the roots of the function f(x)=2^-x+e^x+2cos(x)-6 on the interval [1,3] with atol =1*e^-8.
a) how many iterations are required?
b)what is the resulting absolute error ?*
0 个评论
回答(1 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!