| 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: , |
|