> From: Nikos Apostolakis
> Sent: Thursday, 21 October 2004 9:02 PM
> To: maxima@math.utexas.edu
> Subject: Derivative as a function
>
> Hello
>
> is there a way to define a function to be the derivative of an
> other function?
>
> (%i43) f(x):=x^2$
>
Have a look at define()
(%i1) f(x):=x^2;
2
(%o1) f(x) := x
(%i2) define(derf(x),diff(f(x),x));
(%o2) derf(x) := 2 x
NOTICE
This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.