MathGroup Archive 1998

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

Search the Archive

Integrate and InterpolatingFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg12944] Integrate and InterpolatingFunction
  • From: Adalbert Hanszen <hsse at amath01.amath.zeiss.de>
  • Date: Sun, 28 Jun 1998 02:51:39 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, mathgroup!

In Mathematica 3.0.1 Integrate can handle InterpoatingFunction  objects,
which was not possible in Mathematica 2.2.3. However, it does NOT
succeed in integrating, if the InterpoatingFunction integrand is
combined with something trivial, like below:

data = {{0,0},{0.041,0},{0.093,48.9},{0.113,0},{1,0}}
f=Interpolation[data,InterpolationOrder->1] Integrate[f[x],{x,0,1}]		(*
this returns the right value *) Integrate[x+f[x],{x,0,1}]	(* this
returns Integrate[x+f[x],{x,0,1}] *)

Why this? As far as I know, Integrate knows, to integrate Sums by acting
on the summands individually. Or is there a general problem, when
combining InterpoatingFunction objects with other things when
integrating. Any idea, how to overcome this? 

Regards

Dipl.-Math. Adalbert Hanszen <hsse at amath01.amath.zeiss.de>



  • Prev by Date: notebook
  • Next by Date: VC++ debugger, Mathematica interface
  • Previous by thread: Re: notebook
  • Next by thread: VC++ debugger, Mathematica interface