how to find roots of equation having tan(x) or exp(x)
显示 更早的评论
how to find roots of equation having tan(x) or exp(x)
I know how to calculate roots of polynomial having numerical values but i am stuck with it
采纳的回答
更多回答(3 个)
Andrei Bobrov
2011-10-3
fzero(@(x)exp(x)+x-10,0)
fzero(@(x)tan(x)-x-.01,0)
fzero(@(x)tan(x)-x-.01,pi)
moonman
2011-10-3
0 个投票
1 个评论
Wayne King
2011-10-3
then fzero will work as I suggested.
fzero(@(x) exp(x)+x-10,0)
says "Find the zeros of exp(x)+x-10 near 0
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!