Borrar filtros
Borrar filtros

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

7 visualizaciones (últimos 30 días)
How to determine roots of a trigonometric equation like 2x-cosx-2=0 ?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by