Define a(x)=diff(x^2,x)
and then try
a(1)
I get a "Wrong Argument Type" error. What's going on here? How do I define a function using the derivative of another function? There must be something incredibly straightforward and simple which I'm missing here, but I don't know what it is.
Thanks!