Re: Integration of "Which" function
- To: mathgroup at smc.vnet.net
- Subject: [mg32106] Re: [mg32100] Integration of "Which" function
- From: "milkcart" <milkcart at m17.alpha-net.ne.jp>
- Date: Thu, 27 Dec 2001 03:34:07 -0500 (EST)
- References: <200112250444.XAA18441@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hello You should use NIntegrate In[7]:= NIntegrate[Which[0 <= x <= 1/2, 0, 1/2 < x <= 1, 2], {x, 0, 1}] Out[7]= 1. > 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 . ************* milkcart *************
- References:
- Integration of "Which" function
- From: klepachd@yahoo.com (Doron)
- Integration of "Which" function