# Plotting the Exponential Integral

**URL:** <https://community.wolfram.com/t/plotting-the-exponential-integral/6879>\
**Category:** Questions\
**Tags:** calculus, numerical-computation\
**Created:** [October 8, 2015, 3:13pm UTC](https://community.wolfram.com/t/plotting-the-exponential-integral/6879 "2015-10-08T15:13:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![doviedo2](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@doviedo2](https://community.wolfram.com/u/doviedo2)\
**Post date:** [October 8, 2015, 3:13pm UTC](https://community.wolfram.com/t/plotting-the-exponential-integral/6879/1 "2015-10-08T15:13:15Z")

</div>

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}]

---

<div class="post-metadata">

**Author:** ![fkampas](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/fkampas/32/41217_2.png) [@fkampas](https://community.wolfram.com/u/fkampas)\
**Post date:** [October 8, 2015, 3:34pm UTC](https://community.wolfram.com/t/plotting-the-exponential-integral/6879/2 "2015-10-08T15:34:37Z")

</div>

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}]

```

 ![5803plot.jpg](https://global.discourse-cdn.com/wolfram/original/1X/f31abde857d3f9e079878bc0d45996a333221a12.jpeg)
