solving equations numerically

17 visualizzazioni (ultimi 30 giorni)
Michael
Michael il 21 Dic 2011
Hi everyone
Could someone help me solve the following equation numerically:
(exp(-x) + exp(-(x*exp(0.2))))/exp(0.5) = 0.8832 ?
Thanks
  1 Commento
Walter Roberson
Walter Roberson il 21 Dic 2011
Caution: there are four solutions, 3 of which are complex.

Accedi per commentare.

Risposta accettata

Sean de Wolski
Sean de Wolski il 21 Dic 2011
fzero(@(x)((1/exp(x) + 1/exp(x*exp(0.2))))/exp(0.5)-0.8832,pi)

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by