MathGroup Archive 2005

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

Search the Archive

Re: Bug in Mathematica ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60824] Re: [mg60779] Bug in Mathematica ?
  • From: cmduncan at mines.edu
  • Date: Thu, 29 Sep 2005 05:42:23 -0400 (EDT)
  • References: <200509280541.BAA08394@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I got the same answer plugging and chugging by copying and pasting your
email
into Mathematica (v5.1):

In[1]:=
Integrate[Max[x,y],{x,0,1},{y,0,1}]
NIntegrate[Max[x,y],{x,0,1},{y,0,1}]

Out[1]=
\!\(2\/3\)

Out[2]=
0.666667

Chris Duncan

Quoting Bidule <toto at truc.com>:

> Hi,
> 
> I've computed the following two expressions:
> 
> Integrate[Max[x, y], {x, 0, 1}, {y, 0, 1}]
> NIntegrate[Max[x, y], {x, 0, 1}, {y, 0, 1}]
> 
> which result in very different numbers. When I calculate the integral by 
> hand I get (2/3).
> 
> Any thoughts ? I guess by now it's probably a known bug. (or maybe even 
> a 'feature').
> 
> B.
> 
> 






  • Prev by Date: Re: Hi, all, about convert *.nb to *.tex, which can be compiled by latex
  • Next by Date: Re: Bug in Mathematica ?
  • Previous by thread: Bug in Mathematica ?
  • Next by thread: Re: Bug in Mathematica ?