solving equations numerically

2 views (last 30 days)
Michael
Michael on 21 Dec 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 Comment
Walter Roberson
Walter Roberson on 21 Dec 2011
Caution: there are four solutions, 3 of which are complex.

Sign in to comment.

Accepted Answer

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!