Conversion Using SI Units
The scientific standard for units is the Systeme Internationale
en.wikipedia.org/wiki/International_System_of_Units
previously known as the meter-kilogram-second (MKS) system.
Conversion of units is simple: Each unit is assigned a number that converts it to the corresponding SI unit. Given two units, source and goal,
source * fsource = SI = goal * fgoal
goal = source * ( fsource / fgoal )
When there are multiple units, their factors are multiplied or divided as above. This process is O(n) for a quotient involving n units.