Subject: RE: Using the Normal Distribution in Maxima
From: Richard Fateman
Date: Wed, 07 Sep 2005 07:10:02 -0700
There is a program to allow you to define a derivative
of an otherwise unknown function. Read about gradef.
RJF
Barton Willis wrote:
> 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
>
> _______________________________________________
> Maxima mailing list
> Maxima@math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima