1 /*******************************************************************************
3 * License : GNU General Public License (GPL)
5 * A demo for the Maxima function antidiff
7 * See the Maxima reference manual for a documentation.
9 * This file is part of Maxima -- GPL CAS based on DOE-MACSYMA
10 ******************************************************************************/
15 /* The demonstration functions chosen are the Nth derivatives of the
16 * product of the first M derivatives of U(x). This function, G, is then
17 * integrated once using ANTID >.
22 g : diff(product(diff(u(x), x, i), i, 0, m), x, n),
23 display(antidiff(g, x, u(x))) )$
25 /* The function need not be a polynomial, for example:
28 g : diff(%e^u(x)*sin(u(x)), x, 2);