solving equations numerically

17 vues (au cours des 30 derniers jours)
Michael
Michael le 21 Déc 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 commentaire
Walter Roberson
Walter Roberson le 21 Déc 2011
Caution: there are four solutions, 3 of which are complex.

Connectez-vous pour commenter.

Réponse acceptée

Sean de Wolski
Sean de Wolski le 21 Déc 2011
fzero(@(x)((1/exp(x) + 1/exp(x*exp(0.2))))/exp(0.5)-0.8832,pi)
  1 commentaire
Michael
Michael le 21 Déc 2011
perfect, thanks man!

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by