home *** CD-ROM | disk | FTP | other *** search
-
- (* :Title: SIUnits *)
-
- (* :Author: Wolfram Research *)
-
- (* :Summary: SI and derived SI unit usage messages *)
-
- (* :Package Version: 1.0 *)
-
- (* :Copyright: *)
-
- (* :Context: Miscellaneous`SIUnits` *)
-
- (* :History:
- ECM (Wolfram Research), November, 1990 *)
-
- (* :Keywords: *)
-
- (* :Source:
- CRC Handbook of Chemistry & Physics, 69th edition, 1988-1989 *)
-
- (* :Limitation: none *)
-
- (* :Discussion: *)
-
- BeginPackage["Miscellaneous`SIUnits`"]
-
- (** fundamental SI units usage **)
-
- Map[(Evaluate[#[[1]]]::"usage" =
- StringJoin[ToString[#[[1]]], " is the fundamental SI unit of ", #[[2]]])&,
- {{Meter,"length."},{Kilogram,"mass."},{Second,"time."},
- {Ampere,"electric current."},{Kelvin,"thermodynamic temperature."},
- {Mole,"amount of substance."},
- {Candela,"luminous intensity (candlepower)."}}
- ]
-
- $NewMessage[ Second, "usage"]
- Second::usage = StringJoin[ Second::usage, " It is also used as the fundamental SI unit of time."]
-
- (** derived SI units usage **)
-
- Map[(Evaluate[#[[1]]]::"usage" =
- StringJoin[ToString[#[[1]]], " is the derived SI unit of ", #[[2]]])&,
- {{Newton,"force."},{Pascal,"pressure."},{Joule,"energy."},
- {Watt,"power."},{Coulomb,"electric charge."},
- {Volt,"electric potential difference."},{Ohm,"electric resistance."},
- {Siemens,"electric conductance."},{Farad,"electric capacitance."},
- {Weber,"magnetic flux."},{Henry,"inductance."},
- {Tesla,"magnetic flux density."},{Lumen,"luminous flux."},
- {Lux,"illumination (illuminance)."},{Hertz,"frequency."},
- {Becquerel,"radioactivity."},{Gray,"absorbed dose of radiation."}}
- ]
- Amp::usage =
- "Amp, short for Ampere, is the fundamental SI unit of electric current."
-
- EndPackage[]
-