Get Unit - Maple Help

ScientificConstants

 GetUnit
 return the unit object for a ScientificConstants object

 Calling Sequence GetUnit( sc_obj )

Parameters

 sc_obj - ScientificConstants object

Description

 • Given a ScientificConstants object, that is, a Constant() or Element() object, the GetError( sc_obj ) command returns the unit object in the appropriate system of units for the object. For more information about systems of units, see Units/Systems. For more information about unit objects, see Units[Unit].
 • If the ScientificConstants object has no system of units specified, the current system of units is used for evaluation.
 • If the ScientificConstants object has a system of units specified, by using the 'system' option, that system of units is used for evaluation.

Examples

 > $\mathrm{with}\left(\mathrm{ScientificConstants}\right):$
 > $\mathrm{Constant}\left(c\right)$
 ${\mathrm{Constant}}{}\left({c}\right)$ (1)
 > $\mathrm{GetUnit}\left(\right)$
 $⟦\frac{{m}}{{s}}⟧$ (2)
 > $\mathrm{Units}:-\mathrm{UsingSystem}\left(\right)$
 ${\mathrm{SI}}$ (3)
 > $\mathrm{Constant}\left(c,\mathrm{system}=\mathrm{CGS}\right)$
 ${{\mathrm{Constant}}}_{{\mathrm{CGS}}}{}\left({c}\right)$ (4)
 > $\mathrm{GetUnit}\left(\right)$
 $⟦{\mathrm{kyne}}⟧$ (5)
 > $\mathrm{Element}\left(\mathrm{Na},\mathrm{atomicweight}\right)$
 ${\mathrm{Element}}{}\left({\mathrm{Na}}{,}{\mathrm{atomicweight}}\right)$ (6)
 > $\mathrm{GetUnit}\left(\right)$
 $⟦{\mathrm{kg}}⟧$ (7)
 > $\mathrm{Element}\left(\mathrm{Na},\mathrm{atomicweight},\mathrm{system}=\mathrm{CGS}\right)$
 ${{\mathrm{Element}}}_{{\mathrm{CGS}}}{}\left({\mathrm{Na}}{,}{\mathrm{atomicweight}}\right)$ (8)
 > $\mathrm{GetUnit}\left(\right)$
 $⟦{g}⟧$ (9)