Units
AddSystem
add or modify a system of units
Calling Sequence
Parameters
Description
Examples
AddSystem(system, opts, units)
system
-
symbol; system name
opts
(optional) equation of the form 'check'= true or false; specify options for the system
units
symbol; any number of existing units to be associated with the given system.
The AddSystem(unit_name, opts, units) function adds or redefines a system of units in the current session.
This allows you to specify it for a call to the UseSystem command.
To add or redefine a system of units in all future Maple sessions, add the AddSystem command to your Maple initialization file. For more information, see Create Maple Initialization File.
A system cannot have two units with the same dimension.
The opts argument can contain the following equation.
'check'= truefalse
If this option is set to true, an exception will be generated if two units with the same dimension are associated with the system. Otherwise, the last unit with the given dimension will be associated with the system. The default value of 'check' is false.
Units to be associated with the given system are listed.
withUnits:
Automatically loading the Units[Simple] subpackage
AddSystemUS_Survey,check,mileUS_survey
UseSystemUS_Survey
withUnitsStandard:
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.
3Unitmft
3mft
combine,units
19684960635575680000000000miUS_survey2
UnitmUnitm
AddSystemFHF,check,furlong,hundredweightlong,fortnight,second
Error, (in Units:-AddSystem) the system already contains a unit with dimension `time`
AddSystemFHF,check,furlong,hundredweightlong,fortnight
UseSystemFHF
a≔Unitcmmin
a≔cmmin
converta,system
14001397furlongfortnight
43Unitnewton+15Unitpoundal
584156763130694400009052407727furlonghundredweightlongfortnight2
See Also
Create Maple Initialization File
Units/Commands
Units/Index
Units/Systems
Units[GetSystem]
Units[GetSystems]
Units[HasSystem]
Units[RemoveSystem]
Units[UseSystem]
Units[UsingSystem]
Download Help Document