Filter löschen
Filter löschen

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

7 Ansichten (letzte 30 Tage)
How to determine roots of a trigonometric equation like 2x-cosx-2=0 ?

Akzeptierte Antwort

Torsten
Torsten am 27 Jun. 2016
fun=@(x)2*x-cos(x)-2;
x0=[0 2];
sol=fzero(fun,x0)
Best wishes
Torsten.
  2 Kommentare
Sourin Dey
Sourin Dey am 27 Jun. 2016
Thanks a lot. It worked perfectly. Can I ask you for another help?
Torsten
Torsten am 28 Jun. 2016
Just give it a try ...
Best wishes
Torsten.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Equations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by