Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*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 1999

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

Search the Archive

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


  • Prev by Date: Bug with Find in 3.0.2
  • Next by Date: accessing large files
  • Previous by thread: Re: Bug with Find in 3.0.2
  • Next by thread: Re: Integration of very simple partwise definded functions fails