MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Integration


You didn't give us enough of a record of what you actually did. I suspect 
that you didn't actually define f properly.

Here is an example that works.

f[x_] := x

NIntegrate[f[x], {x, 0, 1}]

N[Integrate[f[x], {x, 0, 1}]]

David Park
djmpark at

"Eomer" <eomer_28 at> wrote in message 
news:g4kl8m$lru$1 at
> Hello,
> I would like to numerically integrate a particular function. I define f to 
> be equal to that function. Then, I do N[Integrate[f,{x,0,1}]. The output 
> is f. Why? Why don't I get an answer?
> Thanks
> Rohan.

  • Prev by Date: Re: Integration
  • Next by Date: Re: lie symmetry package
  • Previous by thread: Re: Integration
  • Next by thread: Re: Export PDF plot or Save Selection As -- big troubles with