Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

Re: Integration of "Which" function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32153] Re: Integration of "Which" function
  • From: curieux va <interessant at ici.la>
  • Date: Sat, 29 Dec 2001 18:00:32 -0500 (EST)
  • References: <a0en3d$pg5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I am new to Mathematica, 
I am able to cut and paste the preceeding formula within the same
thread, but i am una ble for this one
                      1                          1
What is   [Which        and  [0
                       2                          2

I see it as a double integration, but I am unable tosee how to do it
Thanks, 
Jean-Yves


On Thu, 27 Dec 2001 08:45:33 +0000 (UTC), Tomas Garza
<tgarza01 at prodigy.net.mx> wrote:

>Try this:
>
>In[1]:=
>                           1     1
>NIntegrate[Which[0 <= x <= -, 0, - < x <= 1, 2], 
>                           2     2
> 
>  {x, 0, 1}]
>Out[1]=
>1.
>
>Tomas Garza
>Mexico City
>
>> -----Original Message-----
>> From: Doron [mailto:klepachd at yahoo.com]
To: mathgroup at smc.vnet.net
>> Sent: Monday, December 24, 2001 8:45 PM
>> To: mathgroup at smc.vnet.net
>> Subject: [mg32153]  Integration of "Which" function
>> 
>> 
>> Hello ,
>> I am trying to integrate :
>> Integrate[Which[0 <= x <= 1/2, 0, 1/2 < x <= 1, 2], {x, 0, 1}]
>>  
>> Why doesn`t it work ?
>> Thank you for your help .
>> 


  • Prev by Date: Meaning of @ ... not @@
  • Next by Date: Re: movie export
  • Previous by thread: RE: Integration of "Which" function
  • Next by thread: remicing the mesh in ParamtericPlot3D