Differentiation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Units[Standard]

 diff
 differentiation and partial differentiation in the Standard Units environment

 Calling Sequence diff(a, x)

Parameters

 a - algebraic expression x - name or name multiplied by a unit

Description

 • In the Standard Units environment, the diff function differentiates an expression with respect to a name that can have a unit.  The result is the derivative of the expression, with respect to the variable of differentiation, with a unit, the input expression unit divided by the variable of differentiation unit if any.
 • For other properties, see the global function diff.

Examples

Notes:

 – To enter a unit in 2-D Math input, select the unit from the appropriate Units palette. If the unit you want is not there, select $\mathrm{unit}$ and then enter the unit.
 – When you edit a unit, double brackets appear around it.
 > $\mathrm{with}\left(\mathrm{Units}\left[\mathrm{Standard}\right]\right):$
 > $-3.532{x}^{2}\mathrm{Unit}\left('J'\right)$
 ${-}{3.532}{}{{x}}^{{2}}{}⟦{J}⟧$ (1)
 > $\mathrm{diff}\left(,x\mathrm{Unit}\left('s'\right)\right)$
 ${-}{7.064}{}{x}{}⟦{W}⟧$ (2)
 > $32{x}^{2}\mathrm{Unit}\left('\mathrm{ft}'\right)+7x\mathrm{Unit}\left('\mathrm{inch}'\right)+45\mathrm{Unit}\left('m'\right)$
 $\left(\frac{{6096}}{{625}}{}{{x}}^{{2}}{+}\frac{{889}}{{5000}}{}{x}{+}{45}\right){}⟦{m}⟧$ (3)
 > $\mathrm{diff}\left(,x\mathrm{Unit}\left('s'\right),x\mathrm{Unit}\left('s'\right)\right)$
 $\frac{{12192}}{{625}}{}⟦\frac{{m}}{{{s}}^{{2}}}⟧$ (4)
 > $4{x}^{4}-3x+2$
 ${4}{}{{x}}^{{4}}{-}{3}{}{x}{+}{2}$ (5)
 > $\mathrm{diff}\left(,x\mathrm{Unit}\left('s'\right)\right)$
 $\left({16}{}{{x}}^{{3}}{-}{3}\right){}⟦\frac{{1}}{{s}}⟧$ (6)