|
From: Eduardo O. <edu...@gm...> - 2024-11-27 21:57:23
|
Hi list,
what is the recommended way to integrate piecewise defined
functions? I tried this,
f(x) := if x<0 then 0
elseif x<1 then 1
else 0;
g(x) := if x<0 then 0
elseif x<1 then x
else 0;
h(x) := integrate(f(t)*g(x-t), t, -2, +2);
and I couldn't find a way to make Maxima calculate this
integral...
integrate(f(x), x, -2, 4);
float(integrate(f(x), x, -2, 4));
The convolution left Maxima even more confused, obviously...
Thanks in advance!
Eduardo Ochs
http://anggtwu.net/eev-maxima.html
http://anggtwu.net/eev-qdraw.html
|