Derivative of a Univariate Expression - Maple Help

Derivative of a Univariate Expression

 Description Compute the derivative of a univariate expression.

Specify an expression and the differentiation variable, and then compute the derivative.

 > $\mathrm{diff}\left({\mathrm{cos}}{\left({x}\right)}^{{2}},{}{x}\right)$
 ${-}{2}{}{\mathrm{cos}}{}\left({x}\right){}{\mathrm{sin}}{}\left({x}\right)$ (1)
 Commands Used