Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem with NIntegrate' topicStudent Support Forum > General > Archives > "Problem with NIntegrate"

Next Comment >Help | Reply To Topic
Author Comment/Response
BB
01/18/13 1:57pm

Strange issue with NIntegrate:

In[100]:= NIntegrate[F[s3, s1], {s3, 0, 28}, {s1, 0, 28}, Method -> "LocalAdaptive"]

Out[100]= 863.411

In[101]:= NIntegrate[F[s3, s1], {s3, 0, 27}, {s1, 0, 28}, Method -> "LocalAdaptive"]

Out[101]= 863.446

In[102]:= NIntegrate[F[s3, s1], {s3, 27, 28}, {s1, 0, 28}, Method -> "LocalAdaptive"]

Out[102]= 0.

I was hoping to find Out[100] = Out[101] + Out[102]. F is a complicated function, however, F[x, y] = 0 for x > 23. This is confirmed by checking:

In[106]:= F[23, y]

Out[106]= 0

In[108]:= F[27, y]

Out[108]= 0

etc.

Can someone please comment on what could possibly be wrong?

URL: ,

Subject (listing for 'Problem with NIntegrate')
Author Date Posted
Problem with NIntegrate BB 01/18/13 1:57pm
Re: Problem with NIntegrate Forum Moder... 01/18/13 2:37pm
Re: Re: Problem with NIntegrate BB 02/02/13 9:17pm
Re: Re: Re: Problem with NIntegrate Bruce 02/07/13 5:23pm
Next Comment >Help | Reply To Topic