Message Boards Message Boards

0
|
3004 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Plotting the Exponential Integral

Posted 9 years ago

Hello,

I have used the buit-in symbol ExpIntegralEi and no problem, but when I used the following, I am getting an error message. Does anyone know how to solve this issue?

LogLogPlot[ NIntegrate[Exp[-i]/(i), {i, 1/u, [Infinity]}], {u, 0.1, 10000}]

Attachments:

I think the parenthesis around i and the wrong expression for infinity are the problems. When troubleshooting, it's best to break things up into smaller parts.

f[u_] := NIntegrate[Exp[-i]/i, {i, 1/u, \[Infinity]}]

LogLogPlot[f[u], {u, .1, 10000}]

enter image description here

POSTED BY: Frank Kampas
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