Cannot use "diff" in a function assignment.



On 11/24/2011 12:05 AM, Richard Fateman wrote:
> Unless you are a good deal more sophisticated, simply do not use define.
>
> Use assignment, for which Maxima uses a colon (:).
>
> For example,
>
> dm1 : at( diff(m(x),x), x=1)
>
> although as you have defined m, diff(m(x),x) is 0.

Strange. For some reasons all the exponents "^" seem to have vanished. 
But the code is correct on my computer. m(x) is a polynomial on x.

Daniel.
-- 
I'm not overweight, I'm undertall.