home *** CD-ROM | disk | FTP | other *** search
-
- (* :Title: Units *)
-
- (* :Author: Stephen Wolfram *)
-
- (* :Summary: Unit conversions *)
-
- (* :Package Version: 1.2 *)
-
- (* :Copyright: *)
-
- (* :Context: Miscellaneous`Units` *)
-
- (* :History:
- Version 1.1 by Stephen Wolfram (Wolfram Research), February, 1987.
- Revised by ECM (Wolfram Research), November, 1990. *)
-
- (* :Keywords: *)
-
- (* :Source:
- CRC Handbook of Chemistry and Physics, 69th Edition, 1988-1989,
- Kaye & Laby, Allen, World Almanac, etc. *)
-
-
- (* :Warning: Makes use of system symbol Second. *)
-
- (* :Mathematica Version: 2.0 *)
-
- (* :Limitation: In most cases, a unit must be entered with the metric
- prefix separated from the root by a space (i.e., kilometer is
- expressed as Kilo Meter).
- The exception is any unit fundamental to one of the supported
- systems of measurement (i.e., kilogram is the fundamental unit
- of length in the MKS system and may be expressed as either
- Kilogram or Kilo Gram). *)
-
- (* :Discussion: *)
-
- BeginPackage["Miscellaneous`Units`","Miscellaneous`SIUnits`"]
-
- Convert::usage =
- "Convert[old, new] converts old to a form involving the combination
- of units new."
-
- ConvertTemperature::usage =
- "ConvertTemperature[temp, old, new] converts temp from the old scale
- to the new scale."
-
- SI::usage = "SI[expr] converts expr to SI units (International System)."
-
- MKS::usage = "MKS[expr] converts expr to MKS units (meter/kilogram/second)."
-
- CGS::usage = "CGS[expr] converts expr to CGS units (centimeter/gram/second)."
-
-
- (** non-SI fundamental units usage **)
-
- Bit::usage = "Bit is the fundamental unit of information."
-
- (** CGS units usage **)
-
- Centimeter::usage = "Centimeter is the fundamental CGS unit of length."
-
- Gram::usage = "Gram is the fundamental CGS unit of mass."
-
- (** SI prefixes usage **)
-
- Map[(Evaluate[#[[1]]]::"usage" =
- StringJoin[ToString[#[[1]]], " is the SI unit prefix denoting 10^",
- ToString[#[[2]]],"."])&,
- Transpose[{
- {Exa,Peta,Tera,Giga,Mega,Kilo,Hecto,Deca,Deci,Centi,Milli,
- Micro,Nano,Pico,Femto,Atto},
- {18,15,12,9,6,3,2,1,-1,-2,-3,-6,-9,-12,-15,-18}
- }]
- ]
-
- (** supplementary SI units usage **)
-
- Radian::usage = "Radian is a dimensionless measure of plane angle."
- Steradian::usage = "Steradian is a dimensionless measure of solid angle."
-
- (** other usage messages **)
-
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit multiplier."])&,
- {Percent,Gross,Dozen,BakersDozen,
- ArcMinute,ArcSecond,RightAngle,Quadrant,Grade}
- ]
-
- $NewMessage[ Degree, "usage"]
- Degree::usage = StringJoin[ Degree::usage, " It is also used as a unit multiplier."]
-
- $NewMessage[ Circle, "usage"]
- Circle::usage = StringJoin[ Circle::usage, " It is also used as a unit multiplier."]
-
- AU::usage = "AU or AstronomicalUnit is a unit of length."
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of length."])&,
- {Angstrom,XUnit,Fermi,Micron,LightYear,Parsec,AstronomicalUnit,Didot,
- DidotPoint,Cicero,Inch,Mil,Caliber,Hand,Span,Cubit,Ell,Pica,
- Foot,Feet,Rope,Fathom,Cable,StatuteMile,NauticalMile,
- Skein,Stadion,AstronomicalUnit,Yard,Bolt,Furlong,Stadium,
- Pole,Perch,SurveyMile,Mile,League,Link,Rod,Chain}
- ]
-
- $NewMessage[ Point, "usage"]
- Point::usage = StringJoin[ Point::usage, " It is also used as a unit of length."]
-
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of area."])&,
- {Barn,Hectare,Acre,Are,Rood,Section,Township}
- ]
- Gallon::usage = "Gallon is a US volume unit."
- UKGallon::usage = "Imperial Gallon is a British volume unit."
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of volume."])&,
- {Stere,Barrel,Cord,RegisterTon,BoardFoot,Liter,UKPint,WineBottle,
- Firkin,Jeroboam,Bucket,Puncheon,Butt,Hogshead,Tun,Pint,Cup,
- FluidOunce,Minim,Shot,Jigger,Pony,FluidDram,Tablespoon,Teaspoon,
- Gill,Noggin,Quart,Fifth,Magnum,Bushel,Seam,Bag,Omer,Ephah}
- ]
-
- $NewMessage[ Last, "usage"]
- Last::usage = StringJoin[ Last::usage, " It is also used as a unit of volume."]
-
- $NewMessage[ Drop, "usage"]
- Drop::usage = StringJoin[ Drop::usage, " It is also used as a unit of volume."]
-
- Kayser::usage = "Kayser is a unit of inverse length."
- Diopter::usage = "Diopter is a unit of inverse length."
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of time."])&,
- {Minute,Hour,Day,Week,Fortnight,Year,Month,Decade,Century,Millenium,
- TropicalYear,SiderealYear,SiderealSecond}
- ]
- Knot::usage = "Knot is a unit of speed."
- Gravity::usage = "Gravity is a measure of acceleration due to gravity."
- Gal::usage = "Gal is the derived CGS measure of acceleration due to gravity."
- AMU::usage = "AMU or AtomicMassUnit is a unit of mass."
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of mass."])&,
- {Quintal,SolarMass,AssayTon,Grain,Carat,Shekel,Obolos,Drachma,Libra,
- TroyOunce,Pennyweight,Tonne,MetricTon,AtomicMassUnit,Dalton,
- Pound,AvoirdupoisPound,Pondus,Stone,Wey,Bale,Ton,Cental,ShortTon,
- NetHundredweight,ShortHundredweight,Hundredweight,GrossHundredweight,
- Mina,Talent,Ounce,AvoirdupoisOunce,Slug,Geepound}
- ]
- Dyne::usage = "Dyne is the derived CGS unit of force."
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of force."])&,
- {Poundal,TonForce,PoundForce,PoundWeight,KilogramForce,
- KilogramWeight,GramWeight}
- ]
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of pressure."])&,
- {Atmosphere,InchMercury,Barye,Bar,Torr,MillimeterMercury}
- ]
- Erg::usage = "Erg is the derived CGS unit of energy."
- BTU::usage = "BTU or BritishThermalUnit is a unit of energy."
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of energy."])&,
- {ElectronVolt,Calorie,Rydberg,BritishThermalUnit,Therm}
- ]
- HorsePower::usage = "HorsePower is a unit of power."
- ChevalVapeur::usage = "ChevalVapeur is a unit of power."
- Map[(Evaluate[#]::"usage" =
- StringJoin[ToString[#], " is a unit of temperature."])&,
- {Centigrade,Celsius,Fahrenheit,Rankine}
- ]
- Poise::usage = "Poise is the derived CGS unit of absolute viscosity."
- Reyn::usage = "Reyn is a unit of absolute viscosity."
- Stokes::usage = "Stokes is the derived CGS unit of kinematic viscosity."
- Rhes::usage = "Rhes is a unit of viscosity."
- Talbot::usage = "Talbot is a unit of luminous energy (quantity of light)."
- Lumerg::usage = "Lumerg is a unit of luminous energy (quantity of light)."
- Phot::usage = "Phot is the derived CGS unit of illumination (illuminance)."
- FootCandle::usage = "FootCandle is a unit of illumination (illuminance)."
- Hefner::usage = "Hefner is a unit of luminous intensity."
- Candle::usage = "Candle is a unit of luminous intensity."
- Stilb::usage =
- "Stilb is the derived CGS unit of luminance (photometric brightness)."
- Nit::usage = "Nit is a unit of luminance (photometric brightness)."
- Lambert::usage = "Lambert is a unit of luminance (photometric brightness)."
- Apostilb::usage = "Apostilb is a unit of luminance (photometric brightness)."
- Rutherford::usage = "Rutherford is a unit of radioactivity."
- Curie::usage = "Curie is a unit of radioactivity."
- Rad::usage = "Rad is a unit of absorbed dose of radiation."
- Rontgen::usage = "Rontgen is a unit of exposure to X or gamma radiation."
- Roentgen::usage = "Roentgen is a unit of exposure to X or gamma radiation."
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of electric current."])&,
- {Abampere,Statampere,Gilbert,Biot}
- ]
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of electric resistance."])&,{Abohm,Statohm}
- ]
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of electric conductance."])&,{Mho,Abmho}
- ]
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of electric charge."])&,{Abcoulomb,Statcoulomb}
- ]
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of electric capacitance."])&,{Abfarad,Statfarad}
- ]
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of inductance."])&, {Abhenry,Stathenry}
- ]
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of electric potential difference."])&,{Abvolt,Statvolt}
- ]
- Gauss::usage = "Gauss is the derived CGS unit of magnetic flux density."
-
- $NewMessage[ Gamma, "usage"]
- Gamma::usage = StringJoin[ Gamma::usage, " It is also used as a unit of magnetic flux density."]
-
- Oersted::usage = "Oersted is the derived CGS unit of magnetic intensity."
- Maxwell::usage = "Maxwell is the derived CGS unit of magnetic flux."
- BohrMagneton::usage = "BohrMagneton is a unit of magnetic moment."
- NuclearMagneton::usage = "NuclearMagneton is a unit of magnetic moment."
- Map[(Evaluate[#]::"usage" = StringJoin[ToString[#],
- " is a unit of information."])&,{Nibble,Baud}
- ]
- $NewMessage[ Byte, "usage"]
- Byte::usage = StringJoin[ Byte::usage, " It is also used as a unit of information."]
-
- (* ************************************************************** *)
-
- Begin["`Private`"]
-
-
- (* unit conversion *)
-
- Convert[old_, new_] :=
- Module[{t},
- t = SI [ old/new ] ;
- t = t //. $ToFundamental ;
- t = N[t];
- If[!NumberQ[t],
- Message[Convert::incomp, old, new];
- Return[old],
- If[Apply[Or,
- Map[Position[new,#]!={}&,
- {Centigrade,Celsius,Kelvin,
- Fahrenheit,Rankine}]],
- Message[Convert::temp]
- ];
- Return[t new]
- ]
- ]
-
- Convert::incomp = "Incompatible units in `1` and `2`."
- Convert::temp =
- "Warning: Convert[old,new] converts units of temperature.
- ConvertTemperature[temp,old,new] converts absolute temperature."
-
- SI[expr_] := expr //. $SIPrefixes //. $ToSI
- MKS := SI
- CGS[expr_] := MKS[expr] //. $ToCGS
-
-
- (* temperature conversion *)
-
- ConvertTemperature[x_, target_, target_] = x
-
- ConvertTemperature[x_, Celsius, target_] :=
- ConvertTemperature[273.15+x, Kelvin, target]
-
- ConvertTemperature[x_, Centigrade, target_] :=
- ConvertTemperature[x, Celsius, target]
-
- ConvertTemperature[x_, Fahrenheit, target_] :=
- ConvertTemperature[(x-32) 5/9 + 273.15, Kelvin, target]
-
- ConvertTemperature[x_, Rankine, target_] :=
- ConvertTemperature[x 5/9, Kelvin, target]
-
- ConvertTemperature[x_, Kelvin, Celsius] := x-273.15
-
- ConvertTemperature[x_, Kelvin, Centigrade] := x-273.15
-
- ConvertTemperature[x_, Kelvin, Fahrenheit] := (x-273.15) 9/5 + 32
-
- ConvertTemperature[x_, Kelvin, Rankine] := x 9/5
-
-
- (* *************************************************************** *)
-
- (** fundamental SI unit symbols **)
-
- Map[(Evaluate[#[[1]]]::"symbol" = #[[2]])&,
- {{Meter,"m"},{Kilogram,"kg"},{Second,"s"},{Ampere,"A"},{Kelvin,"K"},
- {Mole,"mol"},{Candela,"cd"}}
- ]
-
- (** derived SI unit symbols **)
-
- Map[(Evaluate[#[[1]]]::"symbol" = #[[2]])&,
- {{Radian,"rad"},{Steradian,"sr"},{Newton,"N"},{Pascal,"Pa"},{Joule,"J"},
- {Watt,"W"},{Coulomb,"C"},{Volt,"V"},{Ohm,"Omega"},{Siemens,"S"},
- {Farad,"F"},{Weber,"Wb"},{Henry,"H"},{Tesla,"T"},{Henry,"H"},
- {Lumen,"lm"},{Lux,"lx"},{Hertz,"Hz"},{Becquerel,"Bq"},{Gray,"Gy"}}
- ]
-
- (** non-SI fundamental units symbols **)
-
- Bit::symbol = "bit"
-
- (** fundamental CGS and derived CGS unit symbols **)
-
- Map[(Evaluate[#[[1]]]::"symbol" = #[[2]])&,
- {{Centimeter,"cm"},{Gram,"g"},{Gal,"gal"},{Dyne,"dyn"},{Erg,"erg"},
- {Poise,"P"},{Stokes,"St"},{Phot,"ph"},{Stilb,"sb"},{Gauss,"G"},
- {Oersted,"Oe"},{Maxwell,"Mx"}}
- ]
-
- (** SI prefix symbols **)
-
- Map[(Evaluate[#[[1]]]::"symbol" = #[[2]])&,
- {{Exa,"E"},{Peta,"P"},{Tera,"T"},{Giga,"G"},{Mega,"M"},{Kilo,"k"},
- {Hecto,"h"},{Deca,"da"},{Deci,"d"},{Centi,"c"},{Milli,"m"},
- {Micro,"mu"},{Nano,"n"},{Pico,"p"},{Femto,"f"},{Atto,"a"}}
- ]
-
- (** supplementary SI unit symbols **)
-
- Radian::symbol = "rad"
- Steradian::symbol = "sr"
-
- (** some ToSI unit symbols **)
-
- Map[(Evaluate[#[[1]]]::"symbol" = #[[2]])&,
- {{Inch,"in"},{Foot,"ft"},{Yard,"yd"},{Mile,"mi"},{NauticalMile,"nm"},
- {AstronomicalUnit,"AU"},{LightYear,"ly"},{Parsec,"pc"},
- {Barn,"b"},{Hectare,"ha"},
- {Stere,"st"},{Liter,"l"},{Gallon,"gal"},{UKGallon,"impgal"},
- {Pint,"pt"},{UKPint,"ipt"},{Barrel,"bbl"},
- {Minute,"min"},{Hour,"h"},{Day,"d"},{Year,"yr"},
- {Gravity,"g"},{Curie,"Ci"},{Roentgen,"R"},{Rontgen,"R"},{Rad,"rad"},
- {Gram,"g"},{Pound,"lb"},{Hundredweight,"cwt"},{Ounce,"oz"},
- {Atmosphere,"atm"},{Tonne,"t"},{Bar,"bar"},{BTU,"Btu"},
- {BritishThermalUnit,"Btu"},
- {Poundal,"pdl"},{PoundForce,"lbf"},
- {ElectronVolt,"eV"}}
- ]
-
- (* ************************************************************** *)
-
- $SIPrefixes =
- Dispatch[{
- Exa -> 10^18,
- Peta -> 10^15,
- Tera -> 10^12,
- Giga -> 10^9,
- Mega -> 10^6,
- Kilo -> 10^3,
- Hecto -> 100,
- Deca -> 10,
- Deci -> 10^-1,
- Centi -> 10^-2,
- Milli -> 10^-3,
- Micro -> 10^-6,
- Nano -> 10^-9,
- Pico -> 10^-12,
- Femto -> 10^-15,
- Atto -> 10^-18
- }]
-
- $ToFundamental = (* conversions to fundamental SI units *)
- Dispatch[{
- Radian -> 1,
- Steradian -> Radian^2,
- Newton -> Meter Kilogram Second^-2,
- Pascal -> Newton/Meter^2,
- Joule -> Newton Meter,
- Watt -> Joule/Second,
- Coulomb -> Ampere Second,
- Volt -> Watt/Ampere,
- Ohm -> Volt/Ampere,
- Siemens -> Ampere/Volt,
- Farad -> Coulomb/Volt,
- Weber -> Volt Second,
- Henry -> Ohm Second,
- Tesla -> Weber/Meter^2,
- Lumen -> Candela Steradian,
- Lux -> Lumen/Meter^2,
- Hertz -> Second^-1,
- Becquerel -> 1/Second,
- Gray -> Joule/Kilogram
- }]
-
- $ToSI = (* conversions to basic SI units *)
- Dispatch[{
- (* multipliers *)
- Percent -> 1/100,
- Gross -> 144,
- Dozen -> 12,
- BakersDozen -> 13,
- Degree -> Pi/180 Radian,
- Circle -> 2 Pi Radian,
- (* ArcMinute *)
- ArcMinute -> Degree/60,
- ArcSecond -> ArcMinute/60,
- (* RightAngle *)
- RightAngle -> Pi/2 Radian,
- Quadrant -> RightAngle,
- Grade -> RightAngle/100,
- (* length *)
- Centimeter -> 0.01 Meter,
- Angstrom -> 10^-10 Meter,
- XUnit -> 0.1002*10^-12 Meter,
- Fermi -> 10^-15 Meter,
- Micron -> 10^-6 Meter,
- NauticalMile -> 1.852*10^3 Meter,
- LightYear -> 9.4605*10^15 Meter,
- Parsec -> 30857*10^12 Meter,
- (* AstronomicalUnit *)
- AstronomicalUnit -> 0.149579*10^12 Meter,
- AU -> AstronomicalUnit,
- (* Didot *)
- Didot -> Meter/2660,
- DidotPoint -> Didot,
- Cicero -> 12 Didot,
- (* Inch *)
- Inch -> 2.54*10^-2 Meter,
- Mil -> Inch/1000,
- Caliber -> Inch/100,
- Hand -> 4 Inch,
- Link -> 7.92 Inch,
- Span -> 9 Inch,
- Cubit -> 18 Inch,
- Ell -> 45 Inch,
- (* Point *)
- Point -> 0.013837 Inch,
- Pica -> 12 Point,
- (* Foot *)
- Foot -> 30.48*10^-2 Meter,
- Feet -> Foot,
- Fathom -> 6 Foot,
- Rope -> 20 Foot,
- Chain -> 66 Foot,
- Cable -> 720 Foot,
- Skein -> 360 Foot,
- Stadion -> 622 Foot,
- (* Yard *)
- Yard -> 0.9144 Meter,
- Bolt -> 40 Yard,
- Furlong -> 220 Yard,
- Stadium -> 202 Yard,
- (* Rod *)
- Rod -> 5.5 Yard,
- Pole -> Rod,
- Perch -> Rod,
- SurveyMile -> 320 Rod,
- (* Mile *)
- Mile -> 1.609344*10^3 Meter,
- StatuteMile -> Mile,
- League -> 3 Mile,
- (* area *)
- Barn -> 1*10^-28 Meter^2,
- (* Hectare *)
- Hectare -> 1*10^4 Meter^2,
- (* Acre *)
- Acre -> 0.404686 Hectare,
- Are -> 0.025 Acre,
- Rood -> Acre/4,
- (* Section *)
- Section -> Mile^2,
- Township -> 36 Section,
- (* volume *)
- Stere -> Meter^3,
- Barrel -> 0.1590 Meter^3,
- Drop -> 0.03*10^-6 Meter^3,
- Cord -> 128 Foot^3,
- RegisterTon -> 100 Foot^3,
- BoardFoot -> 144 Inch^3,
- (* Liter *)
- Liter -> 10^-3 Meter^3,
- UKPint -> 0.568261 Liter,
- WineBottle -> 0.7576778 Liter,
- Last -> 2909.414 Liter,
- (* UKGallon *)
- UKGallon -> 4.54609 Liter,
- Firkin -> 9 UKGallon,
- (* Gallon *)
- Gallon -> 3.78541 Liter,
- Jeroboam -> 0.8 Gallon,
- Bucket -> 4 Gallon,
- Puncheon -> 84 Gallon,
- (* Butt *)
- Butt -> 126 Gallon,
- (* Hogshead *)
- Hogshead -> Butt/2,
- Tun -> 4 Hogshead,
- (* Pint *)
- Pint ->0.473176 Liter,
- Cup -> Pint/2,
- (* FluidOunce *)
- FluidOunce -> 1/16 Pint,
- Minim -> FluidOunce/480,
- Shot -> FluidOunce,
- Jigger -> 1.5 Shot,
- Pony -> 0.5 Jigger,
- (* FluidDram *)
- FluidDram -> 1/8 FluidOunce,
- Tablespoon -> 4 FluidDram,
- Teaspoon -> Tablespoon/3,
- (* Gill *)
- Gill -> 1/4 Pint,
- Noggin -> Gill,
- (* Quart *)
- Quart -> 1/4 Gallon,
- Fifth -> 0.8 Quart,
- Magnum -> 2 Quart,
- (* Peck *)
- Peck -> 8.810 Liter,
- (* Bushel *)
- Bushel -> 4 Peck,
- Seam -> 8 Bushel,
- Bag -> 3 Bushel,
- (* Omer *)
- Omer -> 0.45 Peck,
- Ephah -> 10 Omer,
- (* inverse length *)
- Kayser -> 100 Meter^-1,
- Diopter -> Meter^-1,
- (* time *)
- Minute -> 60 Second,
- Hour -> 60 Minute,
- Day -> 24 Hour,
- Week -> 7 Day,
- Fortnight -> 2 Week,
- Year -> 365 Day,
- Month -> Year/12,
- Decade -> 10 Year,
- Century -> 100 Year,
- Millenium -> 1000 Year,
- TropicalYear -> 365.24219 Day,
- SiderealYear -> 365.25636 Day,
- SiderealSecond -> 0.9972696 Second,
- (* speed *)
- Knot -> NauticalMile/Hour,
- (* acceleration *)
- Gravity -> 9.80665 Meter/Second^2,
- Gal -> 10^-2 Meter/Second^2,
- (* mass *)
- (* Gram *)
- Gram -> Kilogram/1000,
- Quintal -> 100000 Gram,
- SolarMass -> 1.989*10^33 Gram,
- AssayTon -> 29.167 Gram,
- Grain -> 64.799*10^-3 Gram,
- Carat -> 0.2 Gram,
- Shekel -> 14.1 Gram,
- Obolos -> 715.38*10^-3 Gram,
- Drachma -> 4.2923 Gram,
- Libra -> 325.971 Gram,
- TroyOunce -> 31.103 Gram,
- Pennyweight -> 1.555 Gram,
- (* Tonne *)
- Tonne -> 10^6 Gram,
- MetricTon -> Tonne,
- (* AMU *)
- AMU -> 1.6605402*10^-24 Gram,
- AtomicMassUnit -> AMU,
- Dalton -> AMU,
- (* Pound *)
- Pound -> 0.45359237 Kilogram,
- AvoirdupoisPound -> Pound,
- Pondus -> 0.71864 Pound,
- Stone -> 14 Pound,
- Wey -> 252 Pound,
- Bale -> 500 Pound,
- Ton -> 2240 Pound,
- Cental -> 100 Pound,
- ShortTon -> 2000 Pound,
- NetHundredweight -> 100 Pound,
- ShortHundredweight -> 100 Pound,
- (* Hundredweight *)
- Hundredweight -> 112 Pound,
- GrossHundredweight -> Hundredweight,
- (* Mina *)
- Mina -> 0.9463 Pound,
- Talent -> 60 Mina,
- (* Ounce *)
- Ounce -> 28.350 Gram,
- AvoirdupoisOunce -> Ounce,
- (* Slug *)
- Slug -> 14.5939 Kilogram,
- Geepound -> Slug,
- (* force *)
- Dyne -> 10^-5 Newton,
- Poundal -> 0.138255 Newton,
- TonForce -> 9.96402*10^3 Newton,
- (* PoundForce *)
- PoundForce -> 4.44822 Newton,
- PoundWeight -> PoundForce,
- (* KilogramForce *)
- KilogramForce -> 9.80665 Newton,
- KilogramWeight -> KilogramForce,
- GramWeight -> KilogramWeight/1000,
- (* pressure *)
- (* Pascal *)
- Atmosphere -> 0.101325*10^6 Pascal,
- InchMercury -> 3.38639*10^3 Pascal,
- Barye -> Pascal/10,
- Bar -> 10^5 Pascal,
- (* Torr *)
- Torr -> 0.13322*10^3 Pascal,
- MillimeterMercury -> Torr,
- (* energy *)
- ElectronVolt -> 0.160217733*10^-18 Joule,
- Calorie -> 4.1868 Joule,
- (* Erg *)
- Erg -> 10^-7 Joule,
- Rydberg -> 2.1799*10^-11 Erg,
- (* BTU *)
- BTU -> 1.05506*10^3 Joule,
- BritishThermalUnit -> BTU,
- Therm -> 10^5 BTU,
- (* power *)
- HorsePower -> 0.745700*10^3 Watt,
- ChevalVapeur -> 0.735499*10^3 Watt,
- (* temperature *)
- Centigrade -> Kelvin,
- Celsius -> Centigrade,
- Fahrenheit -> 5/9 Kelvin,
- Rankine -> Fahrenheit,
- (* viscosity *)
- Stokes -> 10^-4 Meter^2/Second,
- (* Poise *)
- Poise -> 0.1 Pascal Second,
- Reyn -> 6.89476*10^4 Poise,
- Rhes -> Poise^-1,
- (* light *)
- Stilb -> 10^4 Candela/Meter^2,
- Nit -> Candela/Meter^2,
- Hefner -> 0.92 Candela,
- Candle -> Candela,
- Phot -> 10^4 Lux,
- FootCandle -> Lux Meter^2/Foot^2,
- (* Lambert *)
- Lambert -> (10^4/Pi) Lumen/Meter^2,
- Apostilb -> 10^-4 Lambert,
- (* Talbot *)
- Talbot -> Lumen Second,
- Lumerg -> Talbot,
- (* radioactivity *)
- Rutherford -> 10^6/Second,
- Rad -> 0.01 Gray,
- Curie -> 37*10^9 Becquerel,
- Rontgen -> 0.258*10^-3 Coulomb/Kilogram,
- Roentgen -> Rontgen,
- (* electric *)
- (* Ampere *)
- Amp -> Ampere,
- Abampere -> 10 Ampere,
- Statampere -> 3.335635*10^-10 Ampere,
- Gilbert -> 0.79577472 Ampere,
- Biot -> 10 Ampere,
- (* Ohm *)
- Abohm -> 10^-9 Ohm,
- Statohm -> 8.987584*10^11 Ohm,
- (* Mho *)
- Mho -> 1/Ohm,
- Abmho -> 10^9 Mho,
- (* Coulomb *)
- Abcoulomb -> 10 Coulomb,
- Statcoulomb -> 3.335635*10^-10 Coulomb,
- (* Farad *)
- Abfarad -> 10^9 Farad,
- Statfarad -> 1.112646*10^-12 Farad,
- (* Henry *)
- Abhenry -> 10^-9 Henry,
- Stathenry -> 8.987584*10^11 Henry,
- (* Volt *)
- Abvolt -> 10^-8 Volt,
- Statvolt -> 299.7930 Volt,
- (* magnetic *)
- Gauss -> 10^-4 Tesla,
- Gamma -> 10^-9 Tesla,
- Oersted -> 1/(4 Pi) 10^3 Ampere/Meter,
- Maxwell -> 10^-8 Weber,
- BohrMagneton -> 0.92740154*10^-20 Erg/Gauss,
- NuclearMagneton -> 5.0507866*10^-24 Erg/Gauss,
- (* information *)
- Byte -> 8 Bit,
- Nibble -> 4 Bit,
- Baud -> Bit/Second
- }] (* end of $ToSI list *)
-
- $ToCGS = (* conversions to basic CGS units *)
- Dispatch[{
- Meter -> 100 Centimeter,
- Kilogram -> 1000 Gram,
- Newton -> 100000 Dyne,
- Joule -> 10000000 Erg,
- Pascal Second -> Poise,
- Meter^2 / Second -> Stokes,
- Meter / Second^2 -> Gal
- }]
-
-
- End[ ] (* Private` *)
-
- EndPackage[]
-