solving equations numerically

조회 수: 17 (최근 30일)
Michael
Michael 2011년 12월 21일
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
Walter Roberson
Walter Roberson 2011년 12월 21일
Caution: there are four solutions, 3 of which are complex.

댓글을 달려면 로그인하십시오.

채택된 답변

Sean de Wolski
Sean de Wolski 2011년 12월 21일
fzero(@(x)((1/exp(x) + 1/exp(x*exp(0.2))))/exp(0.5)-0.8832,pi)
  댓글 수: 1
Michael
Michael 2011년 12월 21일
perfect, thanks man!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by