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

7 次查看(过去 30 天)
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by