hi i need help with this problem
显示 更早的评论
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 ?*
回答(1 个)
Image Analyst
2015-1-26
0 个投票
Hint: use plot() to visualize your function then use a while loop to "home in on" your roots with the bisection method.
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!