How to solve this kind of equation
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all!
How do I solve the equation y=sin(x)+ e^(0.25x-1.5)? I need the roots...
Also how do I draw it and show the x and y axes?
Thanks!
2 件のコメント
回答 (2 件)
John Petersen
2012 年 12 月 11 日
x = [-20:.01:20]';
y=sin(x)+exp(0.25*x-1.5);
figure;plot(x,y);grid
2 件のコメント
John Petersen
2012 年 12 月 12 日
Numerically. But, as you can see from the plot, when x <-10 it becomes a sine wave. Also, all the roots are x<5.3 so that can constrain your search.
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!