Integration of very simple partwise definded functions fails
- To: mathgroup at smc.vnet.net
- Subject: [mg15720] Integration of very simple partwise definded functions fails
- From: "D.O." <oberfeld at psych.gp.TU-Berlin.DE>
- Date: Fri, 5 Feb 1999 03:42:18 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, I was quite surprised that Mathematica will not evaluate any Integrals of simple functions like f[x_/;x<=2]:=1 f[x_/;x>2]:=2 Integrate[f[x],{x,0,1}] NIntegrate also complains about singularities. Do I miss something? There must be a fast way out... Thanks for all suggestions! Daniel Oberfeld Institut fuer Psychologie Allgemeine Psychologie TU Berlin FS1, Raum FS105 Franklinstr. 5-7 10587 Berlin T. 030/314-79541 Fax. 030/314-25996
- Follow-Ups:
- Re: Integration of very simple partwise definded functions fails
- From: Jurgen Tischer <jtischer@col2.telecom.com.co>
- Re: Integration of very simple partwise definded functions fails