MathGroup Archive 2006

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

Search the Archive

Problem with nested NIntegrate[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70213] Problem with nested NIntegrate[]
  • From: "Eckhard" <e.schlemm at hotmail.de>
  • Date: Sat, 7 Oct 2006 07:08:38 -0400 (EDT)

Hello,

I encountered some strange behaviour of NIntegrate when I use a
somewhat neseted structure of several - in my example of two -
NIntegrate[] functions

NIntegrate[NIntegrate[y,{x,-1,1}],{y,-1,1}]

This gives me the error

NIntegrate::"num Integrand y is not numerical at {x) = 0

Why does the inner NIntegrate function not know, what value is
currently assigned to y...

I hope someone can shed a little light on that seemingly paradoxical
behaviour.

thanks in advance

Eckhard


  • Prev by Date: How to assign the result from NonlinearFit to a function
  • Next by Date: Re: FoourierTransform of a function defined in sections
  • Previous by thread: Re: How to assign the result from NonlinearFit to a function
  • Next by thread: Re: Problem with nested NIntegrate[]