Question: Error in evaluating the function

I am getting the following error while calculating function containing diffrential. Thankz in advance
 

> 

KK := proc (x) options operator, arrow; diff(diff(x^2, x)) end proc;

proc (x) options operator, arrow; diff(diff(x^2, x)) end proc

(1)
> 

KK(2)

Error, (in KK) invalid input: diff received 2, which is not valid for its 2nd argument

 
> 

``


 

Download FUNCTION_(1).mw

Please Wait...