3 # 18 May 2001 M-J. Dominus <mjd-perl-units+@plover.com>.
4 # This file is in the PUBLIC DOMAIN.
5 # All rights abandoned.
7 # If you discover definitions of units that do not appear in this
8 # file, you are invited to mail them to mjd-perl-units+@plover.com, so
9 # that I can include them in a future version. Please include the
10 # date of this file, 18 May 2001, with all such submissions.
12 # If a unit is defined as `***', that means
13 # it has no definition because it is a fundamental unit.
15 # http://perl.plover.com/units/unittab
18 # Seven instrinsic SI units:
21 # Tim Riker <Tim@Rikers.org> adds metre alias
28 # Two supplementary units
35 turn *** # Of coiled wire
38 pi 3.1415926535897932386
41 e 2.718281828459045 # Why did I put this in? Oh, I don't know.
42 Neper 1 # Unit of logarithmic ratio
44 # Would it be better to make this a fundamental unit?
45 bel .868588963 Np # 2/ln(10) actually
55 inch 2.54 cm # This is the official definition and is exact
57 barleycorn 1/3 inch # Tim Riker <Tim@Rikers.org
66 #nautical 1.151 # For `nautical mile'
67 nautical 1.150779447892
69 #parsec 3.08568025e16 m # better?
70 # light year will be implied by `year' and `light' below
74 bolt 25 yd # Of cloth; bolt length varies from bolt to bolt
77 ell 45 in # More or less standard, although other ells
78 # have also been used.
83 astronomicalunit 92.9 megamiles # Is this exact?
101 cicero 12dd # TeX likes to abbreviate this to cc, but cc is cubic centimeter
102 scaledpoint 1|65536 pt # Internal to TeX
108 are (10 m)2 # Implies `hectare'
109 acre chain furlong # Now you know why an acre is the size it is
111 township 36 mi2 # Who uses these?
112 barn (1.0E-12 centimeter)2 # Particle physics
113 board 144 in3/ft # Implies `board feet'
120 floz 29.573 ml # `floz' means `fluid ounce', which is different
121 # from `ounce', which is a measurement of mass.
122 # See `pound' below for more details.
130 pottle two quarts # Yup!
138 cordfoot 16 ft2 # NOT the same as `cord foot'.
141 # Barrels are complicated. `Barrel' here means `U.S. liquid barrel'.
147 firkin 9 gal # American firkin, not British firkin
148 perch 24.75 ft3 # Masonry
150 # Following units contributed 20011217 Thomas R Wyant III
158 nebuchadnezzar 25 fifth
160 # Delightful British liquid volumes; they all begin with `brit'.
162 britminim 1|480 britfloz
163 britdrachm 1|8 britfloz
164 drachm britdrachm # U.S. drachm is spelled `dram'.
165 britgill 5 britfloz # five, NOT four.
167 noggin britnoggin # Yeah, as though anyone else would have a `noggin.'
172 britgallon 4 britquart
176 britkilderkin two britfirkins
177 kilderkin britkilderkin # kilderkin is British only
178 britbucket 4 britgal # That's `britbucket,' not `bit bucket'.
179 bucket britbucket # Buckets are brit only.
180 britlast 2909.414 liters
184 dry 1.164904862579 # For `dry pint,' `dry quart,' etc.
191 imperial 1.201 # For `imperial pint,' etc.
195 # To avoid confusing the end user, we will pretend that `pound' is
196 # a unit of mass, interconvertible with `grams'. If you want
197 # pounds of force, see `lbf,' below. In this section, `pound'
198 # really means `mass of an object that weighs one-pound at the surface
199 # of the Earth.' That is, in this program, `slug' has its usual
200 # meaning, and `pound' is synonymous aith `slug'.
203 metricton kilokilogram
212 hundredweight 112 lb # This is the `long' hundredweight, analagous to
213 # the long ton. There is also a `short' hundredwight,
214 # but it's just a hectlb, so I put this one in instead.
218 #ton longton # use shortton my default Tim Riker <Tim@Rikers.org>
219 ton shortton # the american ton, see metriton and longton
220 short 100|112 # Convert long tons, cwts, and quarters to short.
225 # Obscure apothecaries' measures
228 apothounce 480 grains
230 apothpound 12 apothoz
232 # Troy measures (for gold and precious stones)
233 pennyweight 24 grains
234 troyoz 480 grains # We can't define `troy' as a constant,
235 # because there are 16 oz in a lb, but only
236 # 12 troyoz in a troylb, so at least one of
237 # `troy oz' or `troy lb' would be wrong.
239 carat 3.08647 grain # Metric version. Is this useful?
240 atomicmassunit 1.6605402e-27 kg # NIST 19990301 (+/- 0.10e-33 kg)
242 quintal 100kg # Metric quintal. Wasn't there another quintal?
243 elvis 255lb # At the time of his death, the King weighed 255 lb.
253 dy day # This will denote mean solar days
254 siderealday 0.99726957 dys
258 lunarmonth 29.530588 days # Mean solar days
261 tropicalyear 365.24219 dys # Mean solar days
262 siderealyear 365.25636 dys # Mean solar days
263 leapyear 366 dys # Mean solar days
264 calendaryear 365 dys # Mean solar days
265 gregorianyear 365.2425 dys
266 year tropicalyear # Correct on average for most calculations
271 millennium 1000 years
274 beat 1|1000 day # Swatch Internet Time (``Fuck the Sun'')
276 knot 1 nautical mi/hour
281 # Electromagnetic items, work, force, energy.
284 c 299792458 m/s # NIST 19990301 EXACT
285 light c # Implies `light year'
288 # Absolute temperature
291 Rankine 5|9 K # This is a very funny unit
294 # Amount of substance
296 Avogadro 6.0221367e23
298 molecule 1 mole per Avogadro # 1 mole is an Avogagro-number of molecules
301 # The Ampere is fundamental here, defined as the constant current
302 # which, if maintained in two straight parallel conductors of infinite
303 # length, of negligible circular cross-section, and placed 1m apart in
304 # vacuum, would produce between these conductors a force equal to 2e-7
305 # newtons per meter of length.
310 statampere 3.335635e-11 abamperes
313 # What is this called? Is it capitalized? Is there an abbreviation?
314 gilbert 0.79577472 ampere turns
316 # Electrostatic charge
321 electron 1.60217733e-19 C # Charge on the electron; implies electron-volts
324 statcoulomb 3.335635e-11 abcoulomb
332 grav 9.8 m/s2 # Acceleration due to gravity
334 # Actually the accleration varies with altitude and latitude,
335 # from 9.78039 m/s2 at the equator to 9.83217 m/s2 at the poles.
336 # This mean value corresponds to a latitude of about 38 degrees.
343 atmosphere 101325 N/m2 # NIST 20010518 EXACT
345 bar megadyne/cm2 # Implies `millibars'
346 mercury 1|760 atm/mm # Implies `mm mercury' and `inches mercury'
350 water .0295 atm/ft # Implies `feet water'
352 air 6.6083e-5 atm/foot # At 60 deg.F; Implies `feet air'
358 footpound ft-lbf # foot-pound won't work, because `pound' is a mass
362 britishthermalunit 1054.8 J
363 btu britishthermalunit
365 # Kilowatt-hour (kWh) will be implied by `Watt'.
372 horsepower 550 ft-lbf/s
378 abvolt 1|100 microvolt
379 statvolt 2.997930e10 V
382 cycle 1 # For `cycles per second'
383 Hertz cycles per second
392 Henries Henry # For plural
394 stathenry 8.987584e11 henries
395 stathenries stathenry
404 Oersted 1|4 pi kiloamp/m
412 # We won't use G for Gauss because it is more important to
413 # use it for the universal gravitational constant
416 # `farad' is *not* an abbreviation for `Faraday' as far as I can tell.
420 statfarad 1.112646e-13 farad
426 statohm 8.987584e11 Ohms
437 G 6.67259e-11 N m2/kg2 # Newton gravitational constant NIST19990301
438 lightyear light year # Common abbreviation
439 eV e V # Electron volts
445 energy c2 # You can ask for `1 gram energy' and get
446 # the amount of energy equivalent to
447 # 1 gram according to e=mc2.
448 # Check: 1amu energy == 931.16 Mev?
449 Franklin (10/c) C cm/sec
456 # Viscosity - Maybe someone who understands this better can check.
457 poise g/(cm s) # Named after M. Poiseuille
460 # Kinematic viscosity = viscosity per unit density
463 # Refrigeration - Maybe someone who understands this better can check.
464 refrigeration 288000 btu/ton
465 ice tons refrigeration / 2009.1 lb
468 # The candela is fundamental here. Prior to 1979, it was defined as
469 # the luminous intensity of a black body at the temperature of
470 # solidification of platinum, whose radiating surface is 1/60 cm2. It
471 # is now the luminous intensity, in a given direction, of a source
472 # that emits monochromatic radiation of frequency 540e12 Hz and that
473 # has a radiant intensity in that direction of 1|683 W/sr
480 candlepower 12.566370 lumens
481 candle candela # ``International standard candle''
482 Hefner 0.90 candles # This was the German standard in early C20.
486 footcandle lm/ft2 # NOT the same as foot-candle.
488 stilb candle/m2 # Same as a pi lambert
490 # Various important physical constants
491 # I got this stuff from physics.nist.gov on 19990301.
492 h 6.6260755e-27 erg-sec # Planck's constant
494 plancklength 1.61605e-35 m
495 planckmass 2.17671e-8 kg
496 plancktime 5.39056e-44 sec
497 # Let's reserve `Planck' for a while longer until I can decide if
498 # they'd be useful in `planck time' etc.
499 permeability 4*pi*1.0e-7 H/m # Magnetic permeability of vacuum constant
500 permittivity 8.854187817e-12 F/m # Electric permittivity of vacuum constant
501 protonmass 1.6726231e-27 kg
502 neutronmass 1.6749286e-27 kg
503 electronmass 9.1093897e-31 kg
504 finestructure 7.29735308e-3 # Rl
505 # Electron charge is up above under `electrostatic'.
506 # There's no reason to get too obscure here because if someone wants
507 # they can make up an `obscure physical constants' file that
508 # physiscists could load in if they wanted to. So I've omitted stuff
509 # like the magnetic moment of the muon.
514 revolution circle # For revolutions / sec
516 rpm revolutions per minute
519 arcminute 1|60 degree
520 arcsecond 1|60 arcminute
523 sphere 4 pi steradians
534 kbyte 1024 bytes # `kilobyte' means 1000 bytes
535 # Don't use `K'; that's for Kelvins.
539 mbyte 1024 kbytes # `megabyte' means 1000000 bytes
545 baud bit/sec # Not strictly correct
549 # Conversions accurate only as of 25 November 1996.
559 Australia.dollar 0.8123$
560 AUS$ Australia.dollar
561 Austria.schilling 0.09438$
562 Belgium.franc 0.03223$
565 pound.sterling British.pound
566 sterling British.pound
567 Canada.dollar 0.7468$
569 Cayman.currency 1.22$
572 EuropeanCommunityUnit.ECU 1.278$
573 ECU EuropeanCommunityUnit.ECU
575 Finland.markka 0.2203$
576 markka Finland.markka
583 Greece.drachma 0.004216$
584 drachma Greece.drachma
585 HongKong.dollar 0.1294$
591 Israel.shekel 0.3623$
593 Italy.lira 0.0006655$
596 Kenya.shilling 0.02376$
597 Malaysia.dollar 0.397$
600 Morocco.dirham 0.1248$
601 dirham Morocco.dirham
602 Netherlands.guilder 0.5924$
603 guilder Netherlands.guilder
604 NewZealand.dollar 0.7153$
605 NZ$ NewZealand.dollar
608 Portugal.escudo 0.006577$
609 escudo Portugal.escudo
610 Senegal.CFAfranc 0.002019$
611 SouthAfrica.rand 0.2169$
612 rand SouthAfrica.rand
613 Spain.peseta 0.007896$
617 Switzerland.franc 0.788$
618 swissfranc Switzerland.franc
619 Swissfranc Switzerland.franc
621 # Old-style Brit money. Did I omit anything interesting?
623 shilling 1|20 sterling
633 crown 5 shillings # Implies `half crown'
638 # 18th century French coinage. References:
639 # http://home.nordnet.fr/~jlmorel/mesures.html and reverse-engineered
640 # from The Three Musketeers
641 # 20011227 Thomas R Wyant III
642 livre franc ### 3 Musketeers has francs!
643 ### Now, you too can convert Louis d'Or to U.S. Dollars!
645 crown 3 livres # It's ecu in French, not to be confused with ECU.
647 double 2 # 3 Musketeers refers to double pistoles, so ...
649 ### Now if only I had good definitions for reals and doubloons ...
652 # For `register tons'
654 registerton register ton
657 # bequerel (nucleotide radioactivity): Bq = k/s k=1??
658 # gray (absorbed dose): Gy = k J/kg k=1??
659 # sievert (dose equivalent): Sv = k J/kg k=1??
660 # curie: Ci = 3.3e10 Bq
661 # roentgen: R = 2.58e-4 C/kg
662 # rad: rad = centigray
663 # rem: rem = centisievert