function_diff takes a function as argument.
function_diff returns the derivative function of this function.
Input:
Output:
Input:
Output:
Input:
^
2+x*cos(x)Output:
Input:
Output:
To define the function g as f′, input:
The function_diff instruction has the same effect as using the expression derivative in conjunction with unapply:
Output:
Warning !!!
In Maple mode, for compatibility,
D may be used in place of function_diff.
For this reason, it is impossible to assign a variable named
D in Maple mode (hence you can not name a
geometric object D).