Subject: RE: Using the Normal Distribution in Maxima
From: Barton Willis
Date: Wed, 7 Sep 2005 06:17:54 -0500
Maybe you would like to use the positional derivative package.
(%i1) load("pdiff");
(%o1) C:/PROGRA~1/MAXIMA~1.1/share/maxima/5.9.1
/share/contrib/pdiff/pdiff.lisp
(%i2) diff(n(f(x)),x);
(%o2) f[(1)](x)*n[(1)](f(x))
(%i3) subst(dn, pderivop(n,1),%);
(%o3) f[(1)](x)*dn(f(x))
Notes:
(a) I used function names n and dn instead of N and n because
Maxima 5.9.1 sometimes confuses lower and upper case.
(b) I used wxMaxima to copy the Maxima data. On the screen,
f[(1)] looks like f subscript (1).
(c) pdiff is in Maxima 5.9.1, but it might not be missing in
earlier versions.
(d) In the folder /share/maxima/5.9.1/share/contrib/pdiff/ there
is user documentation for pdiff. Look for the pdf file.
Barton