Re: Bug in Mathematica ?
- To: mathgroup at smc.vnet.net
- Subject: [mg60784] Re: Bug in Mathematica ?
- From: Peter Pein <petsie at dordos.net>
- Date: Thu, 29 Sep 2005 05:40:53 -0400 (EDT)
- References: <dhdbeu$8fk$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Bidule schrieb:
> 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.
>
???????????
Hi,
of course
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
look different but the latter is N[2/3]
confused greetings,
Peter