Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Education > Science > Re: Bug in Math...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 1768 of 1894
Post > Topic >>

Re: Bug in Mathematica 6 - NIntegrate - 5 (regression bug, invalid

by rjf <fateman@[EMAIL PROTECTED] > Jan 27, 2008 at 05:19 PM

Vladimir Bondarenko wrote:
> ----------------------------------------------------------------
> 
> Our little demo continues..... Hello again from the VM machine
> which hopefully soon will not be ignored by CAS manufacturers.
> 
> ----------------------------------------------------------------
> 
> N[Integrate[Sin[z] BesselJ[1, z]/Sqrt[z + z^2], {z,0,Infinity}]]
> 
>                    0.800192

This little demonstration illustrates how NOT to do re****ting of a bug.

Either there is an error in Integrate
or there is an error in N
or there are errors in both
or in neither.

It is possible for N[] to produce what appears to be a 'wrong' answer 
because of limited precision resulting in excessive cancellation. 
Whether this is wrong or not depends on what you expect N[] to do in 
such cases.

It is possible for Integrate[]  to produce an answer that is formally 
correct but is in such a form as to cause massive cancellation, and thus 
give the appearance that N is incorrect.

Someone posting a "bug" should specify whether this is the problem or not.

Perhaps the answer from Integrate is just clearly wrong, and N[] is the 
simplest way to show that it is off the mark.  In which case the person 
presenting the bug should say so.
  For example, does N[Simplify[Integrate[...]],1000]  also produce the 
same number, approximately?
 




 6 Posts in Topic:
Re: Bug in Mathematica 6 - NIntegrate - 5 (regression bug, inval
rjf <fateman@[EMAIL PR  2008-01-27 17:19:12 
Re: Bug in Mathematica 6 - NIntegrate - 5 (regression bug, inval
quasi <quasi@[EMAIL PR  2008-01-27 12:39:30 
Re: Bug in Mathematica 6 - NIntegrate - 5 (regression bug, inval
D Herring <dherring@[E  2008-01-27 13:17:56 
Re: Bug in Mathematica 6 - NIntegrate - 5 (regression bug, inval
quasi <quasi@[EMAIL PR  2008-01-27 13:45:17 
Re: Bug in Mathematica 6 - NIntegrate - 5 (regression bug, inval
nano bagonghi <nano.ba  2008-01-27 21:05:32 
Re: Bug in Mathematica 6 - NIntegrate - 5 (regression bug, inval
quasi <quasi@[EMAIL PR  2008-01-27 15:52:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 8:08:17 CDT 2008.