How to determine roots of a trigonometric equation like 2x-cosx-2=0 ?

1 回表示 (過去 30 日間)
Sourin Dey
Sourin Dey 2016 年 6 月 27 日
コメント済み: Torsten 2016 年 6 月 28 日
How to determine roots of a trigonometric equation like 2x-cosx-2=0 ?

採用された回答

Torsten
Torsten 2016 年 6 月 27 日
fun=@(x)2*x-cos(x)-2;
x0=[0 2];
sol=fzero(fun,x0)
Best wishes
Torsten.
  2 件のコメント
Sourin Dey
Sourin Dey 2016 年 6 月 27 日
Thanks a lot. It worked perfectly. Can I ask you for another help?
Torsten
Torsten 2016 年 6 月 28 日
Just give it a try ...
Best wishes
Torsten.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParticle & Nuclear Physics についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by