diff( function , variable [ , times ] )
The symbolic derivative in SageMath of function with respect to variable. Alias of derivative.
The optional times argument is used for multiple derivatives.
Examples:
Related operations: derivative limit
Operation category: calculus operations sagemath-docs