[Maxima] Integrating function with abs or max
Ray Tice
trayracing at yahoo.com
Mon Jan 22 16:38:25 CST 2007
How do I reformulate functions that use abs or max so that maxima can integrate them?
For example, integrate(abs(x), x, -1, 1) won't evaluate, but both of these will:
integrate(abs(x), x, -1, 0)
integrate(abs(x), x, 0, 1)
Am I missing out on a better way to describe equations to maxima?
Maybe I'm missing a flag to subdivide problems? (I am rather a newbie in Maxima)
Indefinite integration fares no better even in the simple case.
Of course, the above answer is easy to construct, even for high school students,
It's less easy for a human to do it flawlessy for even slightly more complidated problems:
f(x) := max(1-abs(x), 0)
integrate(f(x)*f(x-a), x)
Thanks, Ray
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20070122/0e389964/attachment.htm
More information about the Maxima
mailing list