필터 지우기
필터 지우기

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

조회 수: 7 (최근 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 CenterFile Exchange에서 Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by