Integration of piecewise functions
- Subject: Integration of piecewise functions
- From: Jaime Villate
- Date: Fri, 06 Jun 2008 14:27:41 +0100
On Fri, 2008-06-06 at 09:00 +0100, Paul Smith wrote:
> Apparently, Maxima cannot integrate a piecewise defined function:
>
> f(x) := if x<=2 then x-3 else x^2;
> integrate(f(x),x,0,1);
>
> Any ideas?
That question has been asked several times in the list. See for instance
the following two messages and their responses:
http://www.math.utexas.edu/pipermail/maxima/2008/010127.html
http://www.math.utexas.edu/pipermail/maxima/2008/011811.html
Regards,
Jaime