Integration of piecewise functions



On Fri, Jun 6, 2008 at 2:27 PM, Jaime Villate <villate at fe.up.pt> 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

Thanks, Jaime, for your help.

Paul