Re: Complex integration

*To*: mathgroup at smc.vnet.net*Subject*: [mg55822] Re: [mg55807] Complex integration*From*: DrBob <drbob at bigfoot.com>*Date*: Thu, 7 Apr 2005 05:10:01 -0400 (EDT)*References*: <200504060807.EAA28596@smc.vnet.net>*Reply-to*: drbob at bigfoot.com*Sender*: owner-wri-mathgroup at wolfram.com

I don't get recursion errors (version 5.1.1) but I do get a MathKernel Application Error that says: The instruction at "0x644a8e50" referenced memory at "0x00004000". The memory could not be "read". It's very reliable, too... Every time I evaluate the definitions of ETL, EPer, EPerCC, parameter, AmplTL in one cell, and then AmpPer in another, I get that Application error, and the Kernel shuts down. That's a nasty bug! Bobby On Wed, 6 Apr 2005 04:07:44 -0400 (EDT), Bernhard von Vacano <vacano at gmx.de> wrote: > Dear Group, > > I am experiencing problems with a Mathematica simulation I am trying to > perform. > > The first part of my notebook evaluates without any problems: > > > ETL[w_] := Exp[-(w - w0)^2/width^2*2 Log[2]] > > EPer[w_] := ETL[w]* Exp[I Pi Cos[2 Pi w/Wm]] > EPerCC[w_] := ETL[w]* Exp[-I Pi Cos[2 Pi w/Wm]] > > parameter := {w0 -> 12500, width -> 250, Wm -> 128} > > AmpTL[W_] = Integrate[ETL[w]ETL[w + W] /. parameter, {w, 10000, 20000}] > > > This is the first expression I need for plotting (in the Range of W = > 0..1000), and gives the correct results. > With my so far limited mathematica skills, I could not get the following > modified expression to be evaluated: > > AmpPer[W_] = Integrate[EPerCC[w]EPer[w + W] /. parameter, {w, 10000, 20000}] > > Like this, it only produces "$RecursionLimit::reclim: "Recursion depth of > 256 exceeded." und "$IterationLimit::itlim: Iteration limit of 4096 > exceeded." > > I have tried other limits for the integration, indefinite integration and > NIntegrate, but so far it did not work. (At the moment, I am using > Mathematica 4). > > Could anybody help me with this? I don't really know which parameters to use > or how to restate the problem to get it working. It doesn't seem too hard to > compute, does it? > > > Thank you very much in advance, > > Yours > Bernhard > > > > > -- DrBob at bigfoot.com

**References**:**Complex integration***From:*"Bernhard von Vacano" <vacano@gmx.de>