Integration of piecewise function

*To*: mathgroup at smc.vnet.net*Subject*: [mg52463] Integration of piecewise function*From*: Riccardo <ricky at nospam.it>*Date*: Sun, 28 Nov 2004 01:06:46 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

<inviati & spediti> I just defined a function like this: X[\[Omega]_] := 0 /; \[Omega] < 0; X[\[Omega]_] := 1 /; 0 < \[Omega] < 2; X[\[Omega]_] := -1 /; 2 < \[Omega] < 4; X[\[Omega]_] := 0 /; \[Omega] > 4; Is it possible now to integrate it from -infinity to +infinity? I've already tried and it doesn't give me the result. Thanks. Luca

**Follow-Ups**:**Re: Integration of piecewise function***From:*Christopher Purcell <christopherpurcell@mac.com>

**Re: Integration of piecewise function***From:*DrBob <drbob@bigfoot.com>

**Re: Integration of piecewise function***From:*yehuda ben-shimol <benshimo@bgu.ac.il>