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.