フィルターのクリア

How to get rid of "exponential integral function, Ei(x)" in symbolic math integrartion?!

1 回表示 (過去 30 日間)
Antonio
Antonio 2015 年 12 月 16 日
コメント済み: Walter Roberson 2015 年 12 月 16 日
Hi,
I'm trying to calculate the integral of the following f(x) in MATLAB:
f(x) = -m/(x*e^mx)
When I write something like this:
syms x m e
int(-m/(x*(e^(m*x))), x)
I get my answwer as a function of exponential integral function, which is ans = m*Ei(1, m*x*log(e))
How can I get rid of Ei(x) and find an exact solution to my problem?
Thanks
  3 件のコメント
Antonio
Antonio 2015 年 12 月 16 日
Thanks Torsten ...
Walter Roberson
Walter Roberson 2015 年 12 月 16 日
You probably want
int(-m/(x*(exp(m*x))), x)
You will still get Ei but you will get a simpler solution that does not depend upon the undefined symbol e

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by