MathGroup Archive 2005

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

Search the Archive

Re: Integrate vs Nintegrate for impulsive functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61747] Re: Integrate vs Nintegrate for impulsive functions
  • From: "antononcube" <antononcube at gmail.com>
  • Date: Fri, 28 Oct 2005 03:25:25 -0400 (EDT)
  • References: <djq672$jd9$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I think NIntegrate results are correct.

Although the integrand gives complex values the integration is over the
real line.
So we can plot the real and imaginary parts of the integrand with

 Plot[Re@h[x], {x, 0, 1}, PlotRange -> All]
 Plot[Im@h[x], {x, 0, 1}, PlotRange -> All]

and look at

 Re @ h[x] // ComplexExpand
 Im @ h[x] // ComplexExpand

The plots and the expansions show functions that are not problematic to
integrate numerically (e.g. no singularities can be seen).

Anton Antonov,
Wolfram Research, Inc.


  • Prev by Date: Re: Slow simplify[], integrate[] in 5.2 for Mac
  • Next by Date: Re: Zero argument functions
  • Previous by thread: Re: Re: Integrate vs Nintegrate for impulsive functions
  • Next by thread: Re: Integrate vs Nintegrate for impulsive functions