Message Boards Message Boards

0
|
5376 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

Integration of Ei function

Posted 12 years ago
Hi,
I want to integrate the function Exp/(B-x) for x, within the limits 0 to N. What I could figure out by now is that I have to use ExpIntegralEi function for such kind of integrations in mathematica, but not able to get the complete solution. Please let me know how could I get my integration done.

thanks
SHG
POSTED BY: S G
2 Replies
Posted 12 years ago
The standered form of Ei function is, Ei(z) = -Integrate[Exp[-t]/t, {t, -z,  infinite].  But for the function I am trying to integrate, this needs to be modified..
POSTED BY: S G
It works for me on version 9.0.1
Integrate[Exp[a*x]/(b - x), {x, 0, n}]

ConditionalExpression[
E^(a b) (-Gamma[0, a b] + Gamma[0, a (b - n)] + Log[b] - Log[a b] -
    Log[b - n] + Log[a (b - n)]),  Im[b/n] != 0 || Re[b/n] > 1 || Re[b/n] < 0]
Could you show what you actually typed? It is better to use lower case letters. Also "N" is reserved symbol in Mathematica.
POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract