Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Problem with nested NIntegrate[]
Replies: 2   Last Post: Oct 8, 2006 2:27 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Eckhard Schlemm

Posts: 9
Registered: 5/16/06
Problem with nested NIntegrate[]
Posted: Oct 7, 2006 7:37 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.