Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Numerical integration and list of points

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87684] Re: Numerical integration and list of points
  • From: "David Park" <djmpark at comcast.net>
  • Date: Tue, 15 Apr 2008 05:55:37 -0400 (EDT)
  • References: <ftvd4f$d89$1@smc.vnet.net>

Why don't you provide a specific case of evaluable code that causes the 
problem? This is far better than just giving a generic description. You 
can't expect that most potential responders are going to spend much time 
trying to guess what specific thing caused the problem and making up 
examples that are relevant to your case.

-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


"guerom00" <guerom00 at gmail.com> wrote in message 
news:ftvd4f$d89$1 at smc.vnet.net...
> Hello everyone,
>
> I have a function which I read as a list of points. I want then to
> estimate its integral. I do more or less this :
>
> data={{x1,y1},{x2,y2},...,{xN,yN}}
> f=Interpolation[data]
> NIntegrate[f[x],{x,x1,xN}]
>
> Is it the correct way ? Because Mathematica hangs without giving me an
> answer although it seems a pretty straightforward thing to do...
>
> Thanks for any suggestions.
> 



  • Prev by Date: Re: Circles and Text Offset in Graphics3D
  • Next by Date: Re: Mathematica Player Pro!
  • Previous by thread: Re: Numerical integration and list of points
  • Next by thread: Re: Numerical integration and list of points