Nikos Apostolakis writes:
> is there a way to define a function to
> be the derivative of another function?
Try this -- two single quote marks:
(%i1) f(x) := x^2$
(%i2) df(x) := ''(diff(f(x), x));
(%o2) df(x) := 2 x
(%i3) df(7);
(%o3) 14
Note that df(x) := ''diff(f(x),x)$ doesn't work.
Larry Wall would love Maxima -- "There's more than
one way to do it."
Hope this helps,
Robert Dodier
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com