Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Bug in Mathematica ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60794] Re: [mg60779] Bug in Mathematica ?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 29 Sep 2005 05:41:01 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Works fine on my system

$Version

5.2 for Mac OS X (June 20, 2005)

Clear[x,y];

Integrate[Max[x,y],{x,0,1},{y,0,1}]

2/3

NIntegrate[Max[x,y],{x,0,1},{y,0,1}]//Rationalize

2/3

Integrate[x,{x,0,1},{y,0,x}]+Integrate[y,{x,0,1},{y,x,1}]

2/3


Bob Hanlon

> 
> From: Bidule <toto at truc.com>
To: mathgroup at smc.vnet.net
> Date: 2005/09/28 Wed AM 01:41:27 EDT
> Subject: [mg60794] [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.
> 
> 


  • Prev by Date: nonlinear fit question
  • Next by Date: Re: Bug in Mathematica ?
  • Previous by thread: Re: Bug in Mathematica ?
  • Next by thread: Re: Bug in Mathematica ?