Units[Simple]
diff
differentiation and partial differentiation in the Simple Units environment
Calling Sequence
Parameters
Description
Examples
diff(a, x)
a
-
algebraic expression
x
name or name multiplied by a unit
In the Simple Units environment, the diff function differentiates an expression a with respect to a name x that can have a unit. The result is the derivative of a with respect to x; its unit is the unit of a divided by the unit of x.
Every command in the Simple Units environment that needs to determine whether an expression is valid or not, does so using the Units:-TestDimensions command.
For other properties, see the global function diff.
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 unit and then enter the unit.
When you edit a unit, double brackets appear around it.
withUnitsSimple:
−3.532x2UnitJ
−3.532x2J
diff,xUnits
−7.064xW
32x2Unitft+7xUnitinch+45Unitm
6096625x2+8895000x+45m
diff,xUnits,xUnits
12192625ms2
4x4−3x+2
16x3−31s
See Also
Units
Units/Simple
Download Help Document