Re: Integrals
- To: mathgroup at smc.vnet.net
- Subject: [mg21013] Re: [mg20973] Integrals
- From: "Tomas Garza" <tgarza at mail.internet.com.mx>
- Date: Thu, 2 Dec 1999 21:41:25 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Juan Carlos Heredia [jheredia at mail.com] wrote:
> I would like to know How to Plot defined integrals?.
> Could you give me please an example. I need to do it now.
I assume you mean definite integrals. Here goes an example:
In[1]:=
f[x_] := Exp[-x]
In[2]:=
g[y_] := Integrate[f[x], {x, 0, y}]
In[3]:=
Plot[Evaluate[g[y]], {y, 0, 2}]
Tomas Garza
Mexico City