Re: Bug in Mathematica ?
- To: mathgroup at smc.vnet.net
- Subject: [mg60791] Re: [mg60779] Bug in Mathematica ?
- From: "Owen, HL \(Hywel\)" <h.l.owen at dl.ac.uk>
- Date: Thu, 29 Sep 2005 05:40:58 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
- Thread-index: AcXD9WEK8qLB0hFrT/eGUtGeUE0s4AAHOwDw
Using v5.2 on Windows XP, I get:
Integrate[Max[x, y], {x, 0, 1}, {y, 0, 1}]
2/3
NIntegrate[Max[x, y], {x, 0, 1}, {y, 0, 1}]
0.666667
i.e. the same answer! Nothing wrong there!
Hywel
-------------------------------------------
Hywel Owen h.owen at dl.ac.uk
Accelerator Science and Technology Centre
CCLRC Daresbury Laboratory
United Kingdom
Tel/Fax: +44 1925 603797/603192
-------------------------------------------
"Errors using inadequate data are much less than those using no data at
all."
-- Charles Babbage
> -----Original Message-----
> From: Bidule [mailto:toto at truc.com]
To: mathgroup at smc.vnet.net
> Sent: 28 September 2005 06:41
> Subject: [mg60791] [mg60779] Bug in Mathematica ?
>
> 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.
>
>
>