Re: Re: Bug in Mathematica ?
- To: mathgroup at smc.vnet.net
- Subject: [mg60900] Re: Re: Bug in Mathematica ?
- From: "Scout" <mathem at tica.org>
- Date: Mon, 3 Oct 2005 04:06:00 -0400 (EDT)
- References: <dhlckf$d1a$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, In[1]:= $Version Out[1]= 5.2 for Microsoft Windows (June 20, 2005) In[2]:= Integrate[Max[x,y],{x,0,1},{y,0,1}] Out[2]= 2/3 The same with the obsolete package Calculus`Integration`. ~Scout~ "Jose Luis Gomez" <jose.luis.gomez at itesm.mx> ha scritto nel messaggio news:dhlckf$d1a$1 at smc.vnet.net... > Version 5.0 gives different answers with NIntegrate and Integrate. > However, > if you load the package Calculus`Integration, then both give the same > answer. > > In[1]:= > $Version > Out[1]= > 5.0 for Microsoft Windows (November 18, 2003) > > In[2]:= > Integrate[Max[x,y],{x,0,1},{y,0,1}] > Out[2]= > \!\(1\/3\) > > In[3]:= > NIntegrate[Max[x,y],{x,0,1},{y,0,1}] > Out[3]= > 0.666667 > In[4]:= > > In[5]:= > <<Calculus`Integration` > In[6]:= > Integrate[Max[x,y],{x,0,1},{y,0,1}] > Out[6]= > \!\(2\/3\) > > In[7]:= > NIntegrate[Max[x,y],{x,0,1},{y,0,1}] > Out[7]= > 0.666667 > > Reagards! > José Luis > > -----Mensaje original----- > De: Bidule [mailto:toto at truc.com] > Enviado el: Viernes, 30 de Septiembre de 2005 02:57 a.m. > Para: mathgroup at smc.vnet.net > Asunto: Re: Bug in Mathematica ? > > Curtis Osterhoudt a écrit : >> Hi, Bidule, >> >> Mathematica 5.1 for Linux gives me 2/3 and 0.66666667, respectively. >> Which version are you using? > > Thank you all for answering. It's a good thing you all agree. > Sorry I wasn't explicit enough. > I use version 5.0 for Windows. > The first calculation gave 1/3, while the second one gave 0.66667. > I'm glad to hear everything's right in version 5.1 > > B. > > PS: for informative purposes, here is the full output I got: > In[1]:= > $Version > Out[1]= > 5.0 for Microsoft Windows (June 11, 2003) > > In[2]:= > Integrate[Max[x,y],{x,0,1},{y,0,1}] > Out[2]= > \!\(1\/3\) > > In[3]:= > NIntegrate[Max[x,y],{x,0,1},{y,0,1}] > Out[3]= > 0.666667 >