Michel Talon <talon at lpthe.jussieu.fr> writes:
>
> lilas% maxima
> (%i1) f(x):=x^2$
>
> (%i2) g(x):=diff(f(x),x)$
>
> (%i3) g;
> (%o3) g
> (%i4) g(x);
> (%o4) 2 x
> (%i5) g(2);
>
> diff: second argument must be a variable; found 2
> #0: g(x=2)
> -- an error. To debug this try: debugmode(true);
>
I think this problem was most recently explained a couple of months
ago. See
http://thread.gmane.org/gmane.comp.mathematics.maxima.general/35580
Richard Fateman's first reply is... acerbic. The other two replies might
be helpful to you.
Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20111128/d6038a93/attachment-0001.pgp>