Units conversion and default preferences
There are various default settings that affect output responses. To view the current default settings, type GetDefaults. To change a default setting, enter the corresponding command.
Example: Display of numbers (significant digits).
x = 1/3 % Displays number with 7 digits (default). -> x = 0.3333333 SetDigits( 4 ) y = 1/3 % Displays number with 4 digits. -> y = 0.3333
Note: Calculation accuracy is not usually affected by this setting.
Example: Units and unit conversions..
The default unit system is  kilograms, meter, second.
To change the default unit system, type (for example)
SetUnitSystem( gram, cm, hour )
To convert from inches to cm, enter
inchToCm = ConvertUnits( inches, cm )
To convert  3 slug ft2  to units of  kg cm2,  enter either of:
conversionFactor = 3*ConvertUnits( slug*ft^2, kg*cm^2 ) conversionFactor = ConvertUnits( 3 slug*ft^2, kg*cm^2 )
To list the large-number of available units, type
GetUnitSystem()
UnitSystem affects conversion factors for:
 Input Output ODE Solve

Unit conversion example: Choose a gear ratio to pedal up a 10 degree hill.
• You and your bike have a combined mass of 80 kg.
• The bike's wheels have radii of 33 cm  (diameter of 26 inches).
• You can produce 1/8 horsepower  (8 strong people equal one horse).
• Determine the gear ratio  (pedal angular speed / wheel angular speed) so you can pedal at 1.5 rotations per second.
• Recalculate the gear ratio for hills of 20 degrees and 30 degrees.
• Calculate the force needed to push you uphill in units of Newtons and pound-force, power in units of Watts and horse-power, and wheel angular speed in units of rad/sec, rpm, and Hertz.

Compatible with Autolev
To run an AUTOLEV file, enter or include the following command:
SetDefaults( Autolev )
To make MotionGenesis™ Kane be startup AUTOLEV compatible, edit the file MGDefaultPreferences.txt (in the MGToolbox folder) and un-comment the line
SetDefaults AUTOLEV