Change Default Unit in a System - Maple Help

Home : Support : Online Help : Tasks : Units, Constants, and Errors : Change Default Unit in a System

Change Default Unit in a System

 Description Set a different unit as the default for this session.

Specify an existing system and the new default unit , and then add the new system.

 > $\mathrm{Units}\left[\mathrm{AddSystem}\right]\left(\mathrm{NewSystem},\mathrm{Units}\left[\mathrm{GetSystem}\right]\left({\mathrm{SI}}\right),{\mathrm{mm}}\right)$

Use the new system.

 > $\mathrm{Units}\left[\mathrm{UseSystem}\right](\mathrm{NewSystem})$

Specify a value with a unit attached.

 > $\frac{{450}}{{\mathrm{cm}}{\cdot }{\mathrm{kg}}}$
 $\frac{{450}}{{\mathrm{cm}}{}{\mathrm{kg}}}$ (1)

Return the value as a unit in standard form. Notice that Maple now uses the user-defined unit as its default.

 > $\mathrm{Units}\left[\mathrm{Unit}\right]\left(\right)$
 ${45}{}⟦\frac{{1}}{{\mathrm{mm}}{}{\mathrm{kg}}}⟧$ (2)
 Commands Used