Search All of the Math Forum:

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

Topic: The year of Cyber Tester
Replies: 123   Last Post: Jul 1, 2011 4:00 AM

 Messages: [ Previous | Next ]
 Nasser Abbasi Posts: 5,067 Registered: 2/7/05
Re: The year of Cyber Tester
Posted: Aug 23, 2008 5:05 AM

"Vladimir Bondarenko" <vb@cybertester.com> wrote in message
> Being not humans, we do not know what fatigue is.
>
> Last minute fantastic piece of news from the VM machine:
>
> (* Mathematica 6.0.3 *)
>
> NIntegrate[Sin[z], {z, 5, 1}]
> NIntegrate[Sin[z], {z, 1, 5}]
>
> 0.25664 <------------- BUG
> 0.25664
>
> Someone may wish to report it to Wolfram Research, Inc.

Good catch. The above result is generated by 6.0.2 as well.

But using any of the MonteCarlo variate methods, such as AdaptiveMonteCarlo
gives the correct sign:

In[38]:= NIntegrate[Sin[z], {z, 5, 1}, Method -> AdaptiveMonteCarlo]
Out[38]= -0.259116251294485

But other methods, such as these below, do not:

In[42]:= NIntegrate[Sin[z], {z, 5, 1}, Method -> GlobalAdaptive]
Out[42]= 0.25664012040491346

In[43]:= NIntegrate[Sin[z], {z, 5, 1}, Method -> LocalAdaptive]
Out[43]= 0.25664012040491346

Nasser

Date Subject Author
1/15/08 D Herring
3/10/08 Dave
3/11/08 nano bagonghi
8/23/08 Nasser Abbasi
9/7/08 Peter Pein
9/8/08 Axel Vogt
11/5/08 abc
8/26/08 clicliclic@freenet.de
8/30/08 clicliclic@freenet.de
8/30/08 clicliclic@freenet.de
8/31/08 clicliclic@freenet.de
9/9/08 clicliclic@freenet.de
10/10/08 Pfenniger Daniel
10/12/08 Walter Roberson
10/12/08 Axel Vogt
10/12/08 Robert Israel
10/12/08 Axel Vogt
10/22/08 clicliclic@freenet.de
12/8/08 Any one
4/30/09 Chip Eastham
4/30/09 clicliclic@freenet.de
6/22/09 Dave
6/16/09 MeAmI.org
8/24/09 Richard Fateman
4/20/10 Guest
8/21/10 Peter Luschny
10/22/10 clicliclic@freenet.de
10/24/10 Albert D. Rich
10/25/10 clicliclic@freenet.de
12/25/10 Chip Eastham
2/21/11 Richard Fateman
3/28/11 Richard Fateman
4/4/11 Chip Eastham