MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bug with Integrate in v7?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103283] Re: Bug with Integrate in v7?
  • From: Alexey <lehin.p at gmail.com>
  • Date: Sun, 13 Sep 2009 08:00:56 -0400 (EDT)
  • References: <h859sa$pva$1@smc.vnet.net> <h87par$5do$1@smc.vnet.net>

On 9 Sen, 12:34, guerom00 <guero... at gmail.com> wrote:
> Yeah, funny.
>
> In[12]:= f=(x-1)^2 (y-1)^2 (z-1)^2;
> Integrate[f,{x,-1,1},{y,-1,1},{z,-1,1}]
> NIntegrate[f,{x,-1,1},{y,-1,1},{z,-1,1}]
>
> Out[13]= 0
>
> Out[14]= 18.962962945415

In Mathematica 5.2 the bug is absent:

In[1]:=
f=(x-1)^2 (y-1)^2 (z-1)^2;
Integrate[f,{x,-1,1},{y,-1,1},{z,-1,1}]//N
NIntegrate[f,{x,-1,1},{y,-1,1},{z,-1,1}]
Out[2]=
18.963
Out[3]=
18.963

So, in Mathematica 7 some Integrate[]-functionality is broken.


  • Prev by Date: Offline use of Paclets
  • Next by Date: Output of TraditionalForm for Exp
  • Previous by thread: Re: Re: Bug with Integrate in v7?
  • Next by thread: Transforming a list