How do I find ALL of the positive roots of exp(-0.2*x)*cos(2*x)-0.15*x^2+1?
2 次查看(过去 30 天)
显示 更早的评论
I enter this into Matlab but I only receive back one of its positive roots and I know it has at least three.
syms x,
y=exp(-0.2*x)*cos(2*x)-0.15*x^2+1;
sol=solve(y)
0 个评论
采纳的回答
Walter Roberson
2014-4-11
It has exactly three.
The easiest way is to plot the function, observe the approximate crossings, and run a numeric solver that is constrained to each range in turn.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!