Differentiation and Partial Differentiation in the Natural Units Environment
Calling Sequence
Parameters
Description
Examples
diff(a, x)
a
-
algebraic expression
x
name or name multiplied by a unit
In the Natural 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.
with⁡UnitsNatural:
−3.532⁢x2⁢J
diff⁡,x⁢s
−7.064⁢x⁢W
32⁢x2⁢ft+7⁢x⁢inch+45⁢m
6096625⁢x2+8895000⁢x+45⁢m
diff⁡,x⁢s,x⁢s
12192625⁢ms2
4⁢x4−3⁢x+2
16⁢x3−3⁢1s
See Also
diff
Units
Units/Natural
Units/Natural/int
Download Help Document