[Maxima] Integrating abs(x)?

Barton Willis willisb at unk.edu
Mon Jul 14 17:21:28 CDT 2008


-----maxima-bounces at math.utexas.edu wrote: -----

>On Mon, Jul 14, 2008 at 5:11 PM, Alasdair McAndrew <amca01 at gmail.com>
>wrote:
>
>I can probably use pmint, but the results it produces aren't really
>useful.  For example:
>
>(%i1) pmint(abs(sin(x)),x);
>(%o1) -cos(x)*abs(sin(x))/sin(x)
>
>which is true, but doesn't allow me to enter values for which sin(x)=0.
>This is too restrictive.

If you are looking for a fun summer project, write a function that
*tries* to determine if an expression is continuous on a given
interval (or at a given point). It would have to give up (return
unknown) for many expressions, but Maxima could at least do as well as
an average UNK undergraduate student. Maybe Maxima already has such
logic, (for definite integrals and limits) but I don't think it is a
user-level function.

Barton


More information about the Maxima mailing list