Get Unit - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ScientificConstants

  

GetUnit

  

return the unit object for a ScientificConstants object

 

Calling Sequence

Parameters

Description

Examples

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

withScientificConstants:

Constantc

Constantc

(1)

GetUnit

ms

(2)

Units:-UsingSystem

SI

(3)

Constantc,system=CGS

ConstantCGSc

(4)

GetUnit

kyne

(5)

ElementNa,atomicweight

ElementNa,atomicweight

(6)

GetUnit

kg

(7)

ElementNa,atomicweight,system=CGS

ElementCGSNa,atomicweight

(8)

GetUnit

g

(9)

See Also

Details of Commands for Elements and Isotopes

Details of Commands for Physical Constants

ScientificConstants

ScientificConstants[Constant]

ScientificConstants[Element]

ScientificConstants[GetError]

ScientificConstants[GetValue]

Units/Systems

Units[Unit]