MathGroup Archive 2001

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

Search the Archive

RE: Integration of "Which" function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32115] RE: [mg32100] Integration of "Which" function
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Thu, 27 Dec 2001 03:34:18 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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: [mg32115] [mg32100] 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: Re: Integration of "Which" function
  • Next by Date: Integration of "Which"
  • Previous by thread: Re: Integration of "Which" function
  • Next by thread: RE: Integration of "Which" function