annotate share/units.dat @ 6842:76c0c1881313

<olsner> learn The internet is for everything. However many thing can done even without internet too, often better without use of internet, but internet is good too.
author HackBot
date Mon, 15 Feb 2016 01:09:11 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 # This file is the units database for use with GNU units, a units conversion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 # program by Adrian Mariano adrian@cam.cornell.edu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5 # 14 February 2010 Version 1.50
e037173e0012 Initial import.
HackBot
parents:
diff changeset
6 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
7 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006
e037173e0012 Initial import.
HackBot
parents:
diff changeset
8 # 2007, 2008, 2009, 2010
e037173e0012 Initial import.
HackBot
parents:
diff changeset
9 # Free Software Foundation, Inc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
10 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
11 # This program is free software; you can redistribute it and/or modify
e037173e0012 Initial import.
HackBot
parents:
diff changeset
12 # it under the terms of the GNU General Public License as published by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
13 # the Free Software Foundation; either version 3 of the License, or
e037173e0012 Initial import.
HackBot
parents:
diff changeset
14 # (at your option) any later version.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
15 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
16 # This program is distributed in the hope that it will be useful,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
19 # GNU General Public License for more details.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
20 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
21 # You should have received a copy of the GNU General Public License
e037173e0012 Initial import.
HackBot
parents:
diff changeset
22 # along with this program; if not, write to the Free Software
e037173e0012 Initial import.
HackBot
parents:
diff changeset
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
24 # Boston, MA 02110-1301 USA
e037173e0012 Initial import.
HackBot
parents:
diff changeset
25 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
26 ############################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
27 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
28 # Improvements and corrections are welcome.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
29 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
30 # Most units data was drawn from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
31 # 1. NIST Special Publication 811, 1995 Edition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
32 # 2. CRC Handbook of Chemistry and Physics 70th edition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
33 # 3. Oxford English Dictionary
e037173e0012 Initial import.
HackBot
parents:
diff changeset
34 # 4. Websters New Universal Unabridged Dictionary
e037173e0012 Initial import.
HackBot
parents:
diff changeset
35 # 5. Units of Measure by Stephen Dresner
e037173e0012 Initial import.
HackBot
parents:
diff changeset
36 # 6. A Dictionary of English Weights and Measures by Ronald Zupko
e037173e0012 Initial import.
HackBot
parents:
diff changeset
37 # 7. British Weights and Measures by Ronald Zupko
e037173e0012 Initial import.
HackBot
parents:
diff changeset
38 # 8. Realm of Measure by Isaac Asimov
e037173e0012 Initial import.
HackBot
parents:
diff changeset
39 # 9. United States standards of weights and measures, their
e037173e0012 Initial import.
HackBot
parents:
diff changeset
40 # creation and creators by Arthur H. Frazier.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
41 # 10. French weights and measures before the Revolution: a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
42 # dictionary of provincial and local units by Ronald Zupko
e037173e0012 Initial import.
HackBot
parents:
diff changeset
43 # 11. Weights and Measures: their ancient origins and their
e037173e0012 Initial import.
HackBot
parents:
diff changeset
44 # development in Great Britain up to AD 1855 by FG Skinner
e037173e0012 Initial import.
HackBot
parents:
diff changeset
45 # 12. The World of Measurements by H. Arthur Klein
e037173e0012 Initial import.
HackBot
parents:
diff changeset
46 # 13. For Good Measure by William Johnstone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
47 # 14. NTC's Encyclopedia of International Weights and Measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
48 # by William Johnstone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
49 # 15. Sizes by John Lord
e037173e0012 Initial import.
HackBot
parents:
diff changeset
50 # 16. Sizesaurus by Stephen Strauss
e037173e0012 Initial import.
HackBot
parents:
diff changeset
51 # 17. CODATA Recommended Values of Physical Constants available at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
52 # http://physics.nist.gov/cuu/Constants/index.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
53 # 18. How Many? A Dictionary of Units of Measurement. Available at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
54 # http://www.unc.edu/~rowlett/units/index.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
55 # 19. Numericana. http://www.numericana.com
e037173e0012 Initial import.
HackBot
parents:
diff changeset
56 # 20. UK history of measurement
e037173e0012 Initial import.
HackBot
parents:
diff changeset
57 # http://www.ukmetrication.com/history.htm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
58 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
59 # Thanks to Jeff Conrad for assistance in ferreting out unit definitions.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
60 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
61 ###########################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
62 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
63 # If units you use are missing or defined incorrectly, please contact me.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
64 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
65 # I added shoe size information but I'm not convinced that it's correct.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
66 # If you know anything about shoe sizes please contact me.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
67 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
68 ###########################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
69
e037173e0012 Initial import.
HackBot
parents:
diff changeset
70 ###########################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
71 # #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
72 # Primitive units. Any unit defined to contain a '!' character is a #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
73 # primitive unit which will not be reduced any further. All units should #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
74 # reduce to primitive units. #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
75 # #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
76 ###########################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
77
e037173e0012 Initial import.
HackBot
parents:
diff changeset
78 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
79 # SI units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
80 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
81
e037173e0012 Initial import.
HackBot
parents:
diff changeset
82 kg ! # Mass of the international prototype
e037173e0012 Initial import.
HackBot
parents:
diff changeset
83 kilogram kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
84
e037173e0012 Initial import.
HackBot
parents:
diff changeset
85 s ! # Duration of 9192631770 periods of the radiation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
86 second s # corresponding to the transition between the two hyperfine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
87 # levels of the ground state of the cesium-133 atom
e037173e0012 Initial import.
HackBot
parents:
diff changeset
88
e037173e0012 Initial import.
HackBot
parents:
diff changeset
89 m ! # Length of the path traveled by light in a vacuum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
90 meter m # during 1|299792458 seconds. Originally meant to be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
91 # 1e-7 of the length along a meridian from the equator
e037173e0012 Initial import.
HackBot
parents:
diff changeset
92 # to a pole.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
93
e037173e0012 Initial import.
HackBot
parents:
diff changeset
94 A ! # The current which produces a force of 2e-7 N/m between two
e037173e0012 Initial import.
HackBot
parents:
diff changeset
95 ampere A # infinitely long wires that are 1 meter apart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
96 amp ampere
e037173e0012 Initial import.
HackBot
parents:
diff changeset
97
e037173e0012 Initial import.
HackBot
parents:
diff changeset
98 cd ! # Luminous intensity in a given direction of a source which
e037173e0012 Initial import.
HackBot
parents:
diff changeset
99 candela cd # emits monochromatic radiation at 540e12 Hz with radiant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
100 # intensity 1|683 W/steradian. (This differs from radiant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
101 # intensity (W/sr) in that it is adjusted for human
e037173e0012 Initial import.
HackBot
parents:
diff changeset
102 # perceptual dependence on wavelength. The frequency of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
103 # 540e12 Hz (yellow) is where human perception is most
e037173e0012 Initial import.
HackBot
parents:
diff changeset
104 # efficient.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
105
e037173e0012 Initial import.
HackBot
parents:
diff changeset
106 mol ! # The amount of substance of a system which contains as many
e037173e0012 Initial import.
HackBot
parents:
diff changeset
107 mole mol # elementary entities as there are atoms in 0.012 kg of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
108 # carbon 12. The elementary entities must be specified and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
109 # may be atoms, molecules, ions, electrons, or other
e037173e0012 Initial import.
HackBot
parents:
diff changeset
110 # particles or groups of particles. It is understood that
e037173e0012 Initial import.
HackBot
parents:
diff changeset
111 # unbound atoms of carbon 12, at rest and in the ground
e037173e0012 Initial import.
HackBot
parents:
diff changeset
112 # state, are referred to.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
113
e037173e0012 Initial import.
HackBot
parents:
diff changeset
114 K ! # 1|273.16 of the thermodynamic temperature of the triple
e037173e0012 Initial import.
HackBot
parents:
diff changeset
115 kelvin K # point of water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
116
e037173e0012 Initial import.
HackBot
parents:
diff changeset
117 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
118 # The radian and steradian are defined as dimensionless primitive units.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
119 # The radian is equal to m/m and the steradian to m^2/m^2 so these units are
e037173e0012 Initial import.
HackBot
parents:
diff changeset
120 # dimensionless. Retaining them as named units is useful because it allows
e037173e0012 Initial import.
HackBot
parents:
diff changeset
121 # clarity in expressions and makes the meaning of unit definitions more clear.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
122 # These units will reduce to 1 in conversions but not for sums of units or for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
123 # arguments to functions.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
124 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
125
e037173e0012 Initial import.
HackBot
parents:
diff changeset
126 radian !dimensionless # The angle subtended at the center of a circle by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
127 # an arc equal in length to the radius of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
128 # circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
129 sr !dimensionless # Solid angle which cuts off an area of the surface
e037173e0012 Initial import.
HackBot
parents:
diff changeset
130 steradian sr # of the sphere equal to that of a square with
e037173e0012 Initial import.
HackBot
parents:
diff changeset
131 # sides of length equal to the radius of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
132 # sphere
e037173e0012 Initial import.
HackBot
parents:
diff changeset
133
e037173e0012 Initial import.
HackBot
parents:
diff changeset
134 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
135 # Some primitive non-SI units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
136 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
137
e037173e0012 Initial import.
HackBot
parents:
diff changeset
138 US$ ! # The US dollar is chosen arbitrarily to be the primitive
e037173e0012 Initial import.
HackBot
parents:
diff changeset
139 # unit of money.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
140
e037173e0012 Initial import.
HackBot
parents:
diff changeset
141 bit ! # Basic unit of information (entropy). The entropy in bits
e037173e0012 Initial import.
HackBot
parents:
diff changeset
142 # of a random variable over a finite alphabet is defined
e037173e0012 Initial import.
HackBot
parents:
diff changeset
143 # to be the sum of -p(i)*log2(p(i)) over the alphabet where
e037173e0012 Initial import.
HackBot
parents:
diff changeset
144 # p(i) is the probability that the random variable takes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
145 # on the value i.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
146
e037173e0012 Initial import.
HackBot
parents:
diff changeset
147 ###########################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
148 # #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
149 # Prefixes (longer names must come first) #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
150 # #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
151 ###########################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
152
e037173e0012 Initial import.
HackBot
parents:
diff changeset
153 yotta- 1e24 # Greek or Latin octo, "eight"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
154 zetta- 1e21 # Latin septem, "seven"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
155 exa- 1e18 # Greek hex, "six"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
156 peta- 1e15 # Greek pente, "five"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
157 tera- 1e12 # Greek teras, "monster"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
158 giga- 1e9 # Greek gigas, "giant"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
159 mega- 1e6 # Greek megas, "large"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
160 myria- 1e4 # Not an official SI prefix
e037173e0012 Initial import.
HackBot
parents:
diff changeset
161 kilo- 1e3 # Greek chilioi, "thousand"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
162 hecto- 1e2 # Greek hekaton, "hundred"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
163 deca- 1e1 # Greek deka, "ten"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
164 deka- deca
e037173e0012 Initial import.
HackBot
parents:
diff changeset
165 deci- 1e-1 # Latin decimus, "tenth"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
166 centi- 1e-2 # Latin centum, "hundred"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
167 milli- 1e-3 # Latin mille, "thousand"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
168 micro- 1e-6 # Latin micro or Greek mikros, "small"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
169 nano- 1e-9 # Latin nanus or Greek nanos, "dwarf"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
170 pico- 1e-12 # Spanish pico, "a bit"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
171 femto- 1e-15 # Danish-Norwegian femten, "fifteen"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
172 atto- 1e-18 # Danish-Norwegian atten, "eighteen"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
173 zepto- 1e-21 # Latin septem, "seven"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
174 yocto- 1e-24 # Greek or Latin octo, "eight"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
175
e037173e0012 Initial import.
HackBot
parents:
diff changeset
176 quarter- 1|4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
177 semi- 0.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
178 demi- 0.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
179 hemi- 0.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
180 half- 0.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
181 double- 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
182 triple- 3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
183 treble- 3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
184
e037173e0012 Initial import.
HackBot
parents:
diff changeset
185 kibi- 2^10 # In response to the convention of illegally
e037173e0012 Initial import.
HackBot
parents:
diff changeset
186 mebi- 2^20 # and confusingly using metric prefixes for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
187 gibi- 2^30 # powers of two, the International
e037173e0012 Initial import.
HackBot
parents:
diff changeset
188 tebi- 2^40 # Electrotechnical Commission aproved these
e037173e0012 Initial import.
HackBot
parents:
diff changeset
189 pebi- 2^50 # binary prefixes for use in 1998. If you
e037173e0012 Initial import.
HackBot
parents:
diff changeset
190 exbi- 2^60 # want to refer to "megabytes" using the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
191 Ki- kibi # binary definition, use these prefixes.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
192 Mi- mebi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
193 Gi- gibi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
194 Ti- tebi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
195 Pi- pebi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
196 Ei- exbi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
197
e037173e0012 Initial import.
HackBot
parents:
diff changeset
198 Y- yotta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
199 Z- zetta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
200 E- exa
e037173e0012 Initial import.
HackBot
parents:
diff changeset
201 P- peta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
202 T- tera
e037173e0012 Initial import.
HackBot
parents:
diff changeset
203 G- giga
e037173e0012 Initial import.
HackBot
parents:
diff changeset
204 M- mega
e037173e0012 Initial import.
HackBot
parents:
diff changeset
205 k- kilo
e037173e0012 Initial import.
HackBot
parents:
diff changeset
206 h- hecto
e037173e0012 Initial import.
HackBot
parents:
diff changeset
207 da- deka
e037173e0012 Initial import.
HackBot
parents:
diff changeset
208 d- deci
e037173e0012 Initial import.
HackBot
parents:
diff changeset
209 c- centi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
210 m- milli
e037173e0012 Initial import.
HackBot
parents:
diff changeset
211 u- micro # it should be a mu but u is easy to type
e037173e0012 Initial import.
HackBot
parents:
diff changeset
212 n- nano
e037173e0012 Initial import.
HackBot
parents:
diff changeset
213 p- pico
e037173e0012 Initial import.
HackBot
parents:
diff changeset
214 f- femto
e037173e0012 Initial import.
HackBot
parents:
diff changeset
215 a- atto
e037173e0012 Initial import.
HackBot
parents:
diff changeset
216 z- zepto
e037173e0012 Initial import.
HackBot
parents:
diff changeset
217 y- yocto
e037173e0012 Initial import.
HackBot
parents:
diff changeset
218
e037173e0012 Initial import.
HackBot
parents:
diff changeset
219 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
220 # Names of some numbers
e037173e0012 Initial import.
HackBot
parents:
diff changeset
221 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
222
e037173e0012 Initial import.
HackBot
parents:
diff changeset
223 one 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
224 two 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
225 double 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
226 couple 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
227 three 3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
228 triple 3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
229 four 4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
230 quadruple 4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
231 five 5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
232 quintuple 5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
233 six 6
e037173e0012 Initial import.
HackBot
parents:
diff changeset
234 seven 7
e037173e0012 Initial import.
HackBot
parents:
diff changeset
235 eight 8
e037173e0012 Initial import.
HackBot
parents:
diff changeset
236 nine 9
e037173e0012 Initial import.
HackBot
parents:
diff changeset
237 ten 10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
238 eleven 11
e037173e0012 Initial import.
HackBot
parents:
diff changeset
239 twelve 12
e037173e0012 Initial import.
HackBot
parents:
diff changeset
240 thirteen 13
e037173e0012 Initial import.
HackBot
parents:
diff changeset
241 fourteen 14
e037173e0012 Initial import.
HackBot
parents:
diff changeset
242 fifteen 15
e037173e0012 Initial import.
HackBot
parents:
diff changeset
243 sixteen 16
e037173e0012 Initial import.
HackBot
parents:
diff changeset
244 seventeen 17
e037173e0012 Initial import.
HackBot
parents:
diff changeset
245 eighteen 18
e037173e0012 Initial import.
HackBot
parents:
diff changeset
246 nineteen 19
e037173e0012 Initial import.
HackBot
parents:
diff changeset
247 twenty 20
e037173e0012 Initial import.
HackBot
parents:
diff changeset
248 thirty 30
e037173e0012 Initial import.
HackBot
parents:
diff changeset
249 forty 40
e037173e0012 Initial import.
HackBot
parents:
diff changeset
250 fifty 50
e037173e0012 Initial import.
HackBot
parents:
diff changeset
251 sixty 60
e037173e0012 Initial import.
HackBot
parents:
diff changeset
252 seventy 70
e037173e0012 Initial import.
HackBot
parents:
diff changeset
253 eighty 80
e037173e0012 Initial import.
HackBot
parents:
diff changeset
254 ninety 90
e037173e0012 Initial import.
HackBot
parents:
diff changeset
255 hundred 100
e037173e0012 Initial import.
HackBot
parents:
diff changeset
256 thousand 1000
e037173e0012 Initial import.
HackBot
parents:
diff changeset
257 million 1e6
e037173e0012 Initial import.
HackBot
parents:
diff changeset
258
e037173e0012 Initial import.
HackBot
parents:
diff changeset
259 # These number terms were described by N. Chuquet and De la Roche in the 16th
e037173e0012 Initial import.
HackBot
parents:
diff changeset
260 # century as being successive powers of a million. These definitions are still
e037173e0012 Initial import.
HackBot
parents:
diff changeset
261 # used in most European countries. The current US definitions for these
e037173e0012 Initial import.
HackBot
parents:
diff changeset
262 # numbers arose in the 17th century and don't make nearly as much sense. These
e037173e0012 Initial import.
HackBot
parents:
diff changeset
263 # numbers are listed in the CRC Concise Encyclopedia of Mathematics by Eric
e037173e0012 Initial import.
HackBot
parents:
diff changeset
264 # W. Weisstein.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
265
e037173e0012 Initial import.
HackBot
parents:
diff changeset
266 shortbillion 1e9
e037173e0012 Initial import.
HackBot
parents:
diff changeset
267 shorttrillion 1e12
e037173e0012 Initial import.
HackBot
parents:
diff changeset
268 shortquadrillion 1e15
e037173e0012 Initial import.
HackBot
parents:
diff changeset
269 shortquintillion 1e18
e037173e0012 Initial import.
HackBot
parents:
diff changeset
270 shortsextillion 1e21
e037173e0012 Initial import.
HackBot
parents:
diff changeset
271 shortseptillion 1e24
e037173e0012 Initial import.
HackBot
parents:
diff changeset
272 shortoctillion 1e27
e037173e0012 Initial import.
HackBot
parents:
diff changeset
273 shortnonillion 1e30
e037173e0012 Initial import.
HackBot
parents:
diff changeset
274 shortnoventillion shortnonillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
275 shortdecillion 1e33
e037173e0012 Initial import.
HackBot
parents:
diff changeset
276 shortundecillion 1e36
e037173e0012 Initial import.
HackBot
parents:
diff changeset
277 shortduodecillion 1e39
e037173e0012 Initial import.
HackBot
parents:
diff changeset
278 shorttredecillion 1e42
e037173e0012 Initial import.
HackBot
parents:
diff changeset
279 shortquattuordecillion 1e45
e037173e0012 Initial import.
HackBot
parents:
diff changeset
280 shortquindecillion 1e48
e037173e0012 Initial import.
HackBot
parents:
diff changeset
281 shortsexdecillion 1e51
e037173e0012 Initial import.
HackBot
parents:
diff changeset
282 shortseptendecillion 1e54
e037173e0012 Initial import.
HackBot
parents:
diff changeset
283 shortoctodecillion 1e57
e037173e0012 Initial import.
HackBot
parents:
diff changeset
284 shortnovemdecillion 1e60
e037173e0012 Initial import.
HackBot
parents:
diff changeset
285 shortvigintillion 1e63
e037173e0012 Initial import.
HackBot
parents:
diff changeset
286
e037173e0012 Initial import.
HackBot
parents:
diff changeset
287 centillion 1e303
e037173e0012 Initial import.
HackBot
parents:
diff changeset
288 googol 1e100
e037173e0012 Initial import.
HackBot
parents:
diff changeset
289
e037173e0012 Initial import.
HackBot
parents:
diff changeset
290 longbillion million^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
291 longtrillion million^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
292 longquadrillion million^4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
293 longquintillion million^5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
294 longsextillion million^6
e037173e0012 Initial import.
HackBot
parents:
diff changeset
295 longseptillion million^7
e037173e0012 Initial import.
HackBot
parents:
diff changeset
296 longoctillion million^8
e037173e0012 Initial import.
HackBot
parents:
diff changeset
297 longnonillion million^9
e037173e0012 Initial import.
HackBot
parents:
diff changeset
298 longnoventillion longnonillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
299 longdecillion million^10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
300 longundecillion million^11
e037173e0012 Initial import.
HackBot
parents:
diff changeset
301 longduodecillion million^12
e037173e0012 Initial import.
HackBot
parents:
diff changeset
302 longtredecillion million^13
e037173e0012 Initial import.
HackBot
parents:
diff changeset
303 longquattuordecillion million^14
e037173e0012 Initial import.
HackBot
parents:
diff changeset
304 longquindecillion million^15
e037173e0012 Initial import.
HackBot
parents:
diff changeset
305 longsexdecillion million^16
e037173e0012 Initial import.
HackBot
parents:
diff changeset
306 longseptdecillion million^17
e037173e0012 Initial import.
HackBot
parents:
diff changeset
307 longoctodecillion million^18
e037173e0012 Initial import.
HackBot
parents:
diff changeset
308 longnovemdecillion million^19
e037173e0012 Initial import.
HackBot
parents:
diff changeset
309 longvigintillion million^20
e037173e0012 Initial import.
HackBot
parents:
diff changeset
310
e037173e0012 Initial import.
HackBot
parents:
diff changeset
311 # These numbers fill the gaps left by the long system above.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
312
e037173e0012 Initial import.
HackBot
parents:
diff changeset
313 milliard 1000 million
e037173e0012 Initial import.
HackBot
parents:
diff changeset
314 billiard 1000 million^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
315 trilliard 1000 million^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
316 quadrilliard 1000 million^4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
317 quintilliard 1000 million^5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
318 sextilliard 1000 million^6
e037173e0012 Initial import.
HackBot
parents:
diff changeset
319 septilliard 1000 million^7
e037173e0012 Initial import.
HackBot
parents:
diff changeset
320 octilliard 1000 million^8
e037173e0012 Initial import.
HackBot
parents:
diff changeset
321 nonilliard 1000 million^9
e037173e0012 Initial import.
HackBot
parents:
diff changeset
322 noventilliard nonilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
323 decilliard 1000 million^10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
324
e037173e0012 Initial import.
HackBot
parents:
diff changeset
325 # For consistency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
326
e037173e0012 Initial import.
HackBot
parents:
diff changeset
327 longmilliard milliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
328 longbilliard billiard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
329 longtrilliard trilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
330 longquadrilliard quadrilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
331 longquintilliard quintilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
332 longsextilliard sextilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
333 longseptilliard septilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
334 longoctilliard octilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
335 longnonilliard nonilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
336 longnoventilliard noventilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
337 longdecilliard decilliard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
338
e037173e0012 Initial import.
HackBot
parents:
diff changeset
339 # The long centillion would be 1e600. The googolplex is another
e037173e0012 Initial import.
HackBot
parents:
diff changeset
340 # familiar large number equal to 10^googol. These numbers give overflows.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
341
e037173e0012 Initial import.
HackBot
parents:
diff changeset
342 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
343 # The short system prevails in English speaking countries
e037173e0012 Initial import.
HackBot
parents:
diff changeset
344 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
345
e037173e0012 Initial import.
HackBot
parents:
diff changeset
346 billion shortbillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
347 trillion shorttrillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
348 quadrillion shortquadrillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
349 quintillion shortquintillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
350 sextillion shortsextillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
351 septillion shortseptillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
352 octillion shortoctillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
353 nonillion shortnonillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
354 noventillion shortnoventillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
355 decillion shortdecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
356 undecillion shortundecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
357 duodecillion shortduodecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
358 tredecillion shorttredecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
359 quattuordecillion shortquattuordecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
360 quindecillion shortquindecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
361 sexdecillion shortsexdecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
362 septendecillion shortseptendecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
363 octodecillion shortoctodecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
364 novemdecillion shortnovemdecillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
365 vigintillion shortvigintillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
366
e037173e0012 Initial import.
HackBot
parents:
diff changeset
367
e037173e0012 Initial import.
HackBot
parents:
diff changeset
368
e037173e0012 Initial import.
HackBot
parents:
diff changeset
369 #############################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
370 # #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
371 # Derived units which can be reduced to the primitive units #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
372 # #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
373 #############################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
374
e037173e0012 Initial import.
HackBot
parents:
diff changeset
375
e037173e0012 Initial import.
HackBot
parents:
diff changeset
376
e037173e0012 Initial import.
HackBot
parents:
diff changeset
377 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
378 # Named SI derived units (officially accepted)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
379 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
380
e037173e0012 Initial import.
HackBot
parents:
diff changeset
381 newton kg m / s^2 # force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
382 N newton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
383 pascal N/m^2 # pressure or stress
e037173e0012 Initial import.
HackBot
parents:
diff changeset
384 Pa pascal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
385 joule N m # energy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
386 J joule
e037173e0012 Initial import.
HackBot
parents:
diff changeset
387 watt J/s # power
e037173e0012 Initial import.
HackBot
parents:
diff changeset
388 W watt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
389 coulomb A s # charge
e037173e0012 Initial import.
HackBot
parents:
diff changeset
390 C coulomb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
391 volt W/A # potential difference
e037173e0012 Initial import.
HackBot
parents:
diff changeset
392 V volt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
393 ohm V/A # electrical resistance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
394 siemens A/V # electrical conductance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
395 S siemens
e037173e0012 Initial import.
HackBot
parents:
diff changeset
396 farad C/V # capacitance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
397 F farad
e037173e0012 Initial import.
HackBot
parents:
diff changeset
398 weber V s # magnetic flux
e037173e0012 Initial import.
HackBot
parents:
diff changeset
399 Wb weber
e037173e0012 Initial import.
HackBot
parents:
diff changeset
400 henry Wb/A # inductance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
401 H henry
e037173e0012 Initial import.
HackBot
parents:
diff changeset
402 tesla Wb/m^2 # magnetic flux density
e037173e0012 Initial import.
HackBot
parents:
diff changeset
403 T tesla
e037173e0012 Initial import.
HackBot
parents:
diff changeset
404 hertz /s # frequency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
405 Hz hertz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
406
e037173e0012 Initial import.
HackBot
parents:
diff changeset
407 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
408 # Dimensions. These are here to help with dimensional analysis and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
409 # because they will appear in the list produced by hitting '?' at the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
410 # "You want:" prompt to tell the user the dimension of the unit.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
411 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
412
e037173e0012 Initial import.
HackBot
parents:
diff changeset
413 LENGTH meter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
414 AREA LENGTH^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
415 VOLUME LENGTH^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
416 MASS kilogram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
417 CURRENT ampere
e037173e0012 Initial import.
HackBot
parents:
diff changeset
418 AMOUNT mole
e037173e0012 Initial import.
HackBot
parents:
diff changeset
419 ANGLE radian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
420 SOLID_ANGLE steradian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
421 MONEY US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
422 FORCE newton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
423 PRESSURE FORCE / AREA
e037173e0012 Initial import.
HackBot
parents:
diff changeset
424 STRESS FORCE / AREA
e037173e0012 Initial import.
HackBot
parents:
diff changeset
425 CHARGE coulomb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
426 CAPACITANCE farad
e037173e0012 Initial import.
HackBot
parents:
diff changeset
427 RESISTANCE ohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
428 CONDUCTANCE siemens
e037173e0012 Initial import.
HackBot
parents:
diff changeset
429 INDUCTANCE henry
e037173e0012 Initial import.
HackBot
parents:
diff changeset
430 FREQUENCY hertz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
431 VELOCITY LENGTH / TIME
e037173e0012 Initial import.
HackBot
parents:
diff changeset
432 ACCELERATION VELOCITY / TIME
e037173e0012 Initial import.
HackBot
parents:
diff changeset
433 DENSITY MASS / VOLUME
e037173e0012 Initial import.
HackBot
parents:
diff changeset
434 LINEAR_DENSITY MASS / LENGTH
e037173e0012 Initial import.
HackBot
parents:
diff changeset
435 VISCOSITY FORCE TIME / AREA
e037173e0012 Initial import.
HackBot
parents:
diff changeset
436 KINEMATIC_VISCOSITY VISCOSITY / DENSITY
e037173e0012 Initial import.
HackBot
parents:
diff changeset
437
e037173e0012 Initial import.
HackBot
parents:
diff changeset
438
e037173e0012 Initial import.
HackBot
parents:
diff changeset
439 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
440 # units derived easily from SI units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
441 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
442
e037173e0012 Initial import.
HackBot
parents:
diff changeset
443 gram millikg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
444 gm gram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
445 g gram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
446 tonne 1000 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
447 t tonne
e037173e0012 Initial import.
HackBot
parents:
diff changeset
448 metricton tonne
e037173e0012 Initial import.
HackBot
parents:
diff changeset
449 sthene tonne m / s^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
450 funal sthene
e037173e0012 Initial import.
HackBot
parents:
diff changeset
451 pieze sthene / m^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
452 quintal 100 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
453 bar 1e5 Pa # About 1 atm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
454 vac millibar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
455 micron micrometer # One millionth of a meter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
456 bicron picometer # One brbillionth of a meter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
457 cc cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
458 are 100 m^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
459 liter 1000 cc # The liter was defined in 1901 as the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
460 oldliter 1.000028 dm^3 # space occupied by 1 kg of pure water at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
461 l liter # the temperature of its maximum density
e037173e0012 Initial import.
HackBot
parents:
diff changeset
462 L liter # under a pressure of 1 atm. This was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
463 # supposed to be 1000 cubic cm, but it
e037173e0012 Initial import.
HackBot
parents:
diff changeset
464 # was discovered that the original
e037173e0012 Initial import.
HackBot
parents:
diff changeset
465 # measurement was off. In 1964, the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
466 # liter was redefined to be exactly 1000
e037173e0012 Initial import.
HackBot
parents:
diff changeset
467 # cubic centimeters.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
468 mho siemens # Inverse of ohm, hence ohm spelled backward
e037173e0012 Initial import.
HackBot
parents:
diff changeset
469 galvat ampere # Named after Luigi Galvani
e037173e0012 Initial import.
HackBot
parents:
diff changeset
470 angstrom 1e-10 m # Convenient for describing molecular sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
471 xunit 1.00202e-13 meter # Used for measuring wavelengths
e037173e0012 Initial import.
HackBot
parents:
diff changeset
472 siegbahn xunit # of X-rays. It is defined to be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
473 # 1|3029.45 of the spacing of calcite
e037173e0012 Initial import.
HackBot
parents:
diff changeset
474 # planes at 18 degC. It was intended
e037173e0012 Initial import.
HackBot
parents:
diff changeset
475 # to be exactly 1e-13 m, but was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
476 # later found to be off slightly.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
477 fermi 1e-15 m # Convenient for describing nuclear sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
478 # Nuclear radius is from 1 to 10 fermis
e037173e0012 Initial import.
HackBot
parents:
diff changeset
479 barn 1e-28 m^2 # Used to measure cross section for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
480 # particle physics collision, said to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
481 # have originated in the phrase "big as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
482 # a barn".
e037173e0012 Initial import.
HackBot
parents:
diff changeset
483 shed 1e-24 barn # Defined to be a smaller companion to the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
484 # barn, but it's too small to be of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
485 # much use.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
486 brewster micron^2/N # measures stress-optical coef
e037173e0012 Initial import.
HackBot
parents:
diff changeset
487 diopter /m # measures reciprocal of lens focal length
e037173e0012 Initial import.
HackBot
parents:
diff changeset
488 fresnel 1e12 Hz # occasionally used in spectroscopy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
489 shake 1e-8 sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
490 svedberg 1e-13 s # Used for measuring the sedimentation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
491 # coefficient for centrifuging.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
492 gamma microgram # Also used for 1e-9 tesla
e037173e0012 Initial import.
HackBot
parents:
diff changeset
493 lambda microliter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
494 spat 1e12 m # Rarely used for astronomical measurements
e037173e0012 Initial import.
HackBot
parents:
diff changeset
495 preece 1e13 ohm m # resistivity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
496 planck J s # action of one joule over one second
e037173e0012 Initial import.
HackBot
parents:
diff changeset
497 sturgeon /henry # magnetic reluctance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
498 daraf 1/farad # elastance (farad spelled backwards)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
499 leo 10 m/s^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
500 poiseuille N s / m^2 # viscosity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
501 mayer J/g K # specific heat
e037173e0012 Initial import.
HackBot
parents:
diff changeset
502 mired / microK # reciprocal color temperature. The name
e037173e0012 Initial import.
HackBot
parents:
diff changeset
503 # abbreviates micro reciprocal degree.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
504 crocodile megavolt # used informally in UK physics labs
e037173e0012 Initial import.
HackBot
parents:
diff changeset
505 metricounce 25 g
e037173e0012 Initial import.
HackBot
parents:
diff changeset
506 mounce metricounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
507 finsenunit 1e5 W/m^2 # Measures intensity of ultraviolet light
e037173e0012 Initial import.
HackBot
parents:
diff changeset
508 # with wavelength 296.7 nm.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
509 fluxunit 1e-26 W/m^2 Hz # Used in radio astronomy to measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
510 # the energy incident on the receiving
e037173e0012 Initial import.
HackBot
parents:
diff changeset
511 # body across a specified frequency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
512 # bandwidth. [12]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
513 jansky fluxunit # K. G. Jansky identified radio waves coming
e037173e0012 Initial import.
HackBot
parents:
diff changeset
514 Jy jansky # from outer space in 1931.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
515 pfu / cm^2 sr s # particle flux unit -- Used to measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
516 # rate at which particles are received by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
517 # a spacecraft as particles per solid
e037173e0012 Initial import.
HackBot
parents:
diff changeset
518 # angle per detector area per second. [18]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
519 pyron cal_IT / cm^2 min # Measures heat flow from solar radiation,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
520 # from Greek work "pyr" for fire.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
521 katal mol/sec # Measure of the amount of a catalyst. One
e037173e0012 Initial import.
HackBot
parents:
diff changeset
522 kat katal # katal of catalyst enables the reaction
e037173e0012 Initial import.
HackBot
parents:
diff changeset
523 # to consume or produce on mol/sec.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
524 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
525 # time
e037173e0012 Initial import.
HackBot
parents:
diff changeset
526 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
527
e037173e0012 Initial import.
HackBot
parents:
diff changeset
528 sec s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
529 minute 60 s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
530 min minute
e037173e0012 Initial import.
HackBot
parents:
diff changeset
531 hour 60 min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
532 hr hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
533 day 24 hr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
534 d day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
535 da day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
536 week 7 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
537 wk week
e037173e0012 Initial import.
HackBot
parents:
diff changeset
538 sennight 7 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
539 fortnight 14 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
540 blink 1e-5 day # Actual human blink takes 1|3 second
e037173e0012 Initial import.
HackBot
parents:
diff changeset
541 ce 1e-2 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
542 cron 1e6 years
e037173e0012 Initial import.
HackBot
parents:
diff changeset
543 watch 4 hours # time a sentry stands watch or a ship's
e037173e0012 Initial import.
HackBot
parents:
diff changeset
544 # crew is on duty.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
545 bell 1|8 watch # Bell would be sounded every 30 minutes.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
546
e037173e0012 Initial import.
HackBot
parents:
diff changeset
547
e037173e0012 Initial import.
HackBot
parents:
diff changeset
548
e037173e0012 Initial import.
HackBot
parents:
diff changeset
549 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
550 # angular measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
551 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
552
e037173e0012 Initial import.
HackBot
parents:
diff changeset
553 circle 2 pi radian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
554 degree 1|360 circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
555 deg degree
e037173e0012 Initial import.
HackBot
parents:
diff changeset
556 arcdeg degree
e037173e0012 Initial import.
HackBot
parents:
diff changeset
557 arcmin 1|60 degree
e037173e0012 Initial import.
HackBot
parents:
diff changeset
558 arcminute arcmin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
559 ' arcmin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
560 arcsec 1|60 arcmin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
561 arcsecond arcsec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
562 " arcsec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
563 '' "
e037173e0012 Initial import.
HackBot
parents:
diff changeset
564 rightangle 90 degrees
e037173e0012 Initial import.
HackBot
parents:
diff changeset
565 quadrant 1|4 circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
566 quintant 1|5 circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
567 sextant 1|6 circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
568
e037173e0012 Initial import.
HackBot
parents:
diff changeset
569 sign 1|12 circle # Angular extent of one sign of the zodiac
e037173e0012 Initial import.
HackBot
parents:
diff changeset
570 turn circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
571 revolution turn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
572 rev turn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
573 pulsatance radian / sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
574 gon 1|100 rightangle # measure of grade
e037173e0012 Initial import.
HackBot
parents:
diff changeset
575 grade gon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
576 centesimalminute 1|100 grade
e037173e0012 Initial import.
HackBot
parents:
diff changeset
577 centesimalsecond 1|100 centesimalminute
e037173e0012 Initial import.
HackBot
parents:
diff changeset
578 milangle 1|6400 circle # Official NIST definition.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
579 # Another choice is 1e-3 radian.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
580 pointangle 1|32 circle # Used for reporting compass readings
e037173e0012 Initial import.
HackBot
parents:
diff changeset
581 centrad 0.01 radian # Used for angular deviation of light
e037173e0012 Initial import.
HackBot
parents:
diff changeset
582 # through a prism.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
583 mas milli arcsec # Used by astronomers
e037173e0012 Initial import.
HackBot
parents:
diff changeset
584 seclongitude circle (seconds/day) # Astronomers measure longitude
e037173e0012 Initial import.
HackBot
parents:
diff changeset
585 # (which they call right ascension) in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
586 # time units by dividing the equator into
e037173e0012 Initial import.
HackBot
parents:
diff changeset
587 # 24 hours instead of 360 degrees.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
588 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
589 # Some geometric formulas
e037173e0012 Initial import.
HackBot
parents:
diff changeset
590 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
591
e037173e0012 Initial import.
HackBot
parents:
diff changeset
592 circlearea(r) [m;m^2] pi r^2 ; sqrt(circlearea/pi)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
593 spherevolume(r) [m;m^3] 4|3 pi r^3 ; cuberoot(spherevolume/4|3 pi)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
594 spherevol(r) [m;m^3] spherevolume(r) ; ~spherevolume(spherevol)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
595 square(x) x^2 ; sqrt(square)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
596
e037173e0012 Initial import.
HackBot
parents:
diff changeset
597 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
598 # Solid angle measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
599 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
600
e037173e0012 Initial import.
HackBot
parents:
diff changeset
601 sphere 4 pi sr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
602 squaredegree 1|180^2 pi^2 sr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
603 squareminute 1|60^2 squaredegree
e037173e0012 Initial import.
HackBot
parents:
diff changeset
604 squaresecond 1|60^2 squareminute
e037173e0012 Initial import.
HackBot
parents:
diff changeset
605 squarearcmin squareminute
e037173e0012 Initial import.
HackBot
parents:
diff changeset
606 squarearcsec squaresecond
e037173e0012 Initial import.
HackBot
parents:
diff changeset
607 sphericalrightangle 0.5 pi sr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
608 octant 0.5 pi sr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
609
e037173e0012 Initial import.
HackBot
parents:
diff changeset
610 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
611 # Concentration measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
612 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
613
e037173e0012 Initial import.
HackBot
parents:
diff changeset
614 percent 0.01
e037173e0012 Initial import.
HackBot
parents:
diff changeset
615 % percent
e037173e0012 Initial import.
HackBot
parents:
diff changeset
616 mill 0.001 # Originally established by Congress in 1791
e037173e0012 Initial import.
HackBot
parents:
diff changeset
617 # as a unit of money equal to 0.001 dollars,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
618 # it has come to refer to 0.001 in general.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
619 # Used by some towns to set their property
e037173e0012 Initial import.
HackBot
parents:
diff changeset
620 # tax rate, and written with a symbol similar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
621 # to the % symbol but with two 0's in the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
622 # denominator. [18]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
623 proof 1|200 # Alcohol content measured by volume at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
624 # 60 degrees Fahrenheit. This is a USA
e037173e0012 Initial import.
HackBot
parents:
diff changeset
625 # measure. In Europe proof=percent.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
626 ppm 1e-6
e037173e0012 Initial import.
HackBot
parents:
diff changeset
627 partspermillion ppm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
628 ppb 1e-9
e037173e0012 Initial import.
HackBot
parents:
diff changeset
629 partsperbillion ppb # USA billion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
630 ppt 1e-12
e037173e0012 Initial import.
HackBot
parents:
diff changeset
631 partspertrillion ppt # USA trillion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
632 karat 1|24 # measure of gold purity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
633 caratgold karat
e037173e0012 Initial import.
HackBot
parents:
diff changeset
634 gammil mg/l
e037173e0012 Initial import.
HackBot
parents:
diff changeset
635 basispoint 0.01 % # Used in finance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
636 fine 1|1000 # Measure of gold purity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
637
e037173e0012 Initial import.
HackBot
parents:
diff changeset
638 # The pH scale is used to measure the concentration of hydronium (H3O+) ions in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
639 # a solution. A neutral solution has a pH of 7 as a result of dissociated
e037173e0012 Initial import.
HackBot
parents:
diff changeset
640 # water molecules.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
641
e037173e0012 Initial import.
HackBot
parents:
diff changeset
642 pH(x) [;mol/liter] 10^(-x) mol/liter ; (-log(pH liters/mol))
e037173e0012 Initial import.
HackBot
parents:
diff changeset
643
e037173e0012 Initial import.
HackBot
parents:
diff changeset
644
e037173e0012 Initial import.
HackBot
parents:
diff changeset
645 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
646 # Temperature
e037173e0012 Initial import.
HackBot
parents:
diff changeset
647 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
648 # Two types of units are defined: units for converting temperature differences
e037173e0012 Initial import.
HackBot
parents:
diff changeset
649 # and functions for converting absolute temperatures. Conversions for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
650 # differences start with "deg" and conversions for absolute temperature start
e037173e0012 Initial import.
HackBot
parents:
diff changeset
651 # with "temp".
e037173e0012 Initial import.
HackBot
parents:
diff changeset
652 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
653
e037173e0012 Initial import.
HackBot
parents:
diff changeset
654 TEMPERATURE kelvin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
655 TEMPERATURE_DIFFERENCE kelvin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
656
e037173e0012 Initial import.
HackBot
parents:
diff changeset
657 tempC(x) [;K] x K + stdtemp ; (tempC +(-stdtemp))/K # In 1741 Anders Celsius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
658 tempcelsius(x) [;K] tempC(x); ~tempC(tempcelsius) # introduced a temperature
e037173e0012 Initial import.
HackBot
parents:
diff changeset
659 degcelsius K # scale with water boiling at 0 degrees and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
660 degC K # freezing at 100 degrees at standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
661 # pressure. After his death the fixed points
e037173e0012 Initial import.
HackBot
parents:
diff changeset
662 # were reversed and the scale was called the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
663 # centigrade scale. Due to the difficulty of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
664 # accurately measuring the temperature of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
665 # melting ice at standard pressure, the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
666 # centigrade scale was replaced in 1954 by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
667 # the Celsius scale which is defined by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
668 # subtracting 273.15 from the temperature in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
669 # Kelvins. This definition differed slightly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
670 # from the old centigrade definition, but the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
671 # Kelvin scale depends on the triple point of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
672 # water rather than a melting point, so it
e037173e0012 Initial import.
HackBot
parents:
diff changeset
673 # can be measured accurately.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
674
e037173e0012 Initial import.
HackBot
parents:
diff changeset
675 tempF(x) [;K] (x+(-32)) degF + stdtemp ; (tempF+(-stdtemp))/degF + 32
e037173e0012 Initial import.
HackBot
parents:
diff changeset
676 tempfahrenheit(x) [;K] tempF(x) ; ~tempF(tempfahrenheit)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
677 degfahrenheit 5|9 degC # Fahrenheit defined his temperature scale
e037173e0012 Initial import.
HackBot
parents:
diff changeset
678 degF 5|9 degC # by setting 0 to the coldest temperature
e037173e0012 Initial import.
HackBot
parents:
diff changeset
679 # he could produce in his lab with a salt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
680 # water solution and by setting 96 degrees to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
681 # body heat. In Fahrenheit's words:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
682 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
683 # Placing the thermometer in a mixture of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
684 # sal ammoniac or sea salt, ice, and water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
685 # a point on the scale will be found which
e037173e0012 Initial import.
HackBot
parents:
diff changeset
686 # is denoted as zero. A second point is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
687 # obtained if the same mixture is used
e037173e0012 Initial import.
HackBot
parents:
diff changeset
688 # without salt. Denote this position as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
689 # 30. A third point, designated as 96, is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
690 # obtained if the thermometer is placed in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
691 # the mouth so as to acquire the heat of a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
692 # healthy man." (D. G. Fahrenheit,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
693 # Phil. Trans. (London) 33, 78, 1724)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
694
e037173e0012 Initial import.
HackBot
parents:
diff changeset
695 degreesrankine degF # The Rankine scale has the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
696 degrankine degreesrankine # Fahrenheit degree, but its zero
e037173e0012 Initial import.
HackBot
parents:
diff changeset
697 degreerankine degF # is at absolute zero.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
698 degR degrankine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
699 tempR degrankine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
700 temprankine degrankine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
701
e037173e0012 Initial import.
HackBot
parents:
diff changeset
702 tempreaumur(x) [;K] x degreaumur+stdtemp ; (tempreaumur+(-stdtemp))/degreaumur
e037173e0012 Initial import.
HackBot
parents:
diff changeset
703 degreaumur 10|8 degC # The Reaumur scale was used in Europe and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
704 # particularly in France. It is defined
e037173e0012 Initial import.
HackBot
parents:
diff changeset
705 # to be 0 at the freezing point of water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
706 # and 80 at the boiling point. Reaumur
e037173e0012 Initial import.
HackBot
parents:
diff changeset
707 # apparently selected 80 because it is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
708 # divisible by many numbers.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
709
e037173e0012 Initial import.
HackBot
parents:
diff changeset
710 degK K # "Degrees Kelvin" is forbidden usage.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
711 tempK K # For consistency.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
712
e037173e0012 Initial import.
HackBot
parents:
diff changeset
713 # Gas mark is implemented below but in a terribly ugly way. There is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
714 # a simple formula, but it requires a conditional which is not
e037173e0012 Initial import.
HackBot
parents:
diff changeset
715 # presently supported.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
716 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
717 # The formula to convert to degrees Fahrenheit is:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
718 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
719 # 25 log2(gasmark) + k_f gasmark<=1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
720 # 25 (gasmark-1) + k_f gasmark>=1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
721 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
722 # k_f = 275
e037173e0012 Initial import.
HackBot
parents:
diff changeset
723 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
724 gasmark[degR] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
725 .0625 634.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
726 .125 659.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
727 .25 684.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
728 .5 709.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
729 1 734.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
730 2 759.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
731 3 784.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
732 4 809.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
733 5 834.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
734 6 859.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
735 7 884.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
736 8 909.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
737 9 934.67 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
738 10 959.67
e037173e0012 Initial import.
HackBot
parents:
diff changeset
739
e037173e0012 Initial import.
HackBot
parents:
diff changeset
740 # Units cannot handle wind chill or heat index because they are two variable
e037173e0012 Initial import.
HackBot
parents:
diff changeset
741 # functions, but they are included here for your edification. Clearly these
e037173e0012 Initial import.
HackBot
parents:
diff changeset
742 # equations are the result of a model fitting operation.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
743 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
744 # wind chill index (WCI) a measurement of the combined cooling effect of low
e037173e0012 Initial import.
HackBot
parents:
diff changeset
745 # air temperature and wind on the human body. The index was first defined
e037173e0012 Initial import.
HackBot
parents:
diff changeset
746 # by the American Antarctic explorer Paul Siple in 1939. As currently used
e037173e0012 Initial import.
HackBot
parents:
diff changeset
747 # by U.S. meteorologists, the wind chill index is computed from the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
748 # temperature T (in °F) and wind speed V (in mi/hr) using the formula:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
749 # WCI = 0.0817(3.71 sqrt(V) + 5.81 - 0.25V)(T - 91.4) + 91.4.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
750 # For very low wind speeds, below 4 mi/hr, the WCI is actually higher than
e037173e0012 Initial import.
HackBot
parents:
diff changeset
751 # the air temperature, but for higher wind speeds it is lower than the air
e037173e0012 Initial import.
HackBot
parents:
diff changeset
752 # temperature.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
753 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
754 # heat index (HI or HX) a measure of the combined effect of heat and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
755 # humidity on the human body. U.S. meteorologists compute the index
e037173e0012 Initial import.
HackBot
parents:
diff changeset
756 # from the temperature T (in °F) and the relative humidity H (as a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
757 # value from 0 to 1).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
758 # HI = -42.379 + 2.04901523 T + 1014.333127 H - 22.475541 TH
e037173e0012 Initial import.
HackBot
parents:
diff changeset
759 # - .00683783 T^2 - 548.1717 H^2 + 0.122874 T^2 H + 8.5282 T H^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
760 # - 0.0199 T^2 H^2.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
761
e037173e0012 Initial import.
HackBot
parents:
diff changeset
762 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
763 # Physical constants
e037173e0012 Initial import.
HackBot
parents:
diff changeset
764 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
765
e037173e0012 Initial import.
HackBot
parents:
diff changeset
766 # Basic constants
e037173e0012 Initial import.
HackBot
parents:
diff changeset
767
e037173e0012 Initial import.
HackBot
parents:
diff changeset
768 pi 3.14159265358979323846
e037173e0012 Initial import.
HackBot
parents:
diff changeset
769 c 2.99792458e8 m/s # speed of light in vacuum (exact)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
770 light c
e037173e0012 Initial import.
HackBot
parents:
diff changeset
771 mu0 4 pi 1e-7 H/m # permeability of vacuum (exact)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
772 epsilon0 1/mu0 c^2 # permittivity of vacuum (exact)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
773 energy c^2 # convert mass to energy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
774 e 1.602176487e-19 C # electron charge
e037173e0012 Initial import.
HackBot
parents:
diff changeset
775 h 6.62606896e-34 J s # Planck constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
776 hbar h / 2 pi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
777 spin hbar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
778 G 6.67428e-11 N m^2 / kg^2 # Newtonian gravitational constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
779 # This is the NIST 2002 value.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
780 # Note that NIST increased the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
781 # uncertainty of G to 1500 ppm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
782 # as a result of disagreements
e037173e0012 Initial import.
HackBot
parents:
diff changeset
783 # between experiments performed in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
784 # the late 1990s. Some other
e037173e0012 Initial import.
HackBot
parents:
diff changeset
785 # sources give conflicting values
e037173e0012 Initial import.
HackBot
parents:
diff changeset
786 # with a much lower uncertainty.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
787 coulombconst 1/4 pi epsilon0 # listed as "k" sometimes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
788
e037173e0012 Initial import.
HackBot
parents:
diff changeset
789 # Physico-chemical constants
e037173e0012 Initial import.
HackBot
parents:
diff changeset
790
e037173e0012 Initial import.
HackBot
parents:
diff changeset
791 atomicmassunit 1.660538782e-27 kg# atomic mass unit (defined to be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
792 u atomicmassunit # 1|12 of the mass of carbon 12)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
793 amu atomicmassunit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
794 amu_chem 1.66026e-27 kg # 1|16 of the weighted average mass of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
795 # the 3 naturally occuring neutral
e037173e0012 Initial import.
HackBot
parents:
diff changeset
796 # isotopes of oxygen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
797 amu_phys 1.65981e-27 kg # 1|16 of the mass of a neutral
e037173e0012 Initial import.
HackBot
parents:
diff changeset
798 # oxygen 16 atom
e037173e0012 Initial import.
HackBot
parents:
diff changeset
799 dalton u # Maybe this should be amu_chem?
e037173e0012 Initial import.
HackBot
parents:
diff changeset
800 avogadro grams/amu mol # size of a mole
e037173e0012 Initial import.
HackBot
parents:
diff changeset
801 N_A avogadro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
802 gasconstant 8.314472 J / mol K # molar gas constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
803 R gasconstant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
804 boltzmann R / N_A # Boltzmann constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
805 k boltzmann
e037173e0012 Initial import.
HackBot
parents:
diff changeset
806 kboltzmann boltzmann
e037173e0012 Initial import.
HackBot
parents:
diff changeset
807 molarvolume mol R stdtemp / atm # Volume occupied by one mole of an
e037173e0012 Initial import.
HackBot
parents:
diff changeset
808 # ideal gas at STP.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
809 loschmidt avogadro mol / molarvolume # Molecules per cubic meter of an
e037173e0012 Initial import.
HackBot
parents:
diff changeset
810 # ideal gas at STP. Loschmidt did
e037173e0012 Initial import.
HackBot
parents:
diff changeset
811 # work similar to Avogadro.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
812 stefanboltzmann pi^2 k^4 / 60 hbar^3 c^2 # The power per area radiated by a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
813 sigma stefanboltzmann # blackbody at temperature T is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
814 # given by sigma T^4.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
815 wiendisplacement 2.8977685e-3 m K # Wien's Displacement Law gives the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
816 # frequency at which the the Planck
e037173e0012 Initial import.
HackBot
parents:
diff changeset
817 # spectrum has maximum intensity.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
818 # The relation is lambda T = b where
e037173e0012 Initial import.
HackBot
parents:
diff changeset
819 # lambda is wavelength, T is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
820 # temperature and b is the Wien
e037173e0012 Initial import.
HackBot
parents:
diff changeset
821 # displacement. This relation is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
822 # used to determine the temperature
e037173e0012 Initial import.
HackBot
parents:
diff changeset
823 # of stars.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
824 K_J 483597.9 GHz/V # Direct measurement of the volt is difficult. Until
e037173e0012 Initial import.
HackBot
parents:
diff changeset
825 # recently, laboratories kept Weston cadmium cells as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
826 # a reference, but they could drift. In 1987 the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
827 # CGPM officially recommended the use of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
828 # Josephson effect as a laboratory representation of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
829 # the volt. The Josephson effect occurs when two
e037173e0012 Initial import.
HackBot
parents:
diff changeset
830 # superconductors are separated by a thin insulating
e037173e0012 Initial import.
HackBot
parents:
diff changeset
831 # layer. A "supercurrent" flows across the insulator
e037173e0012 Initial import.
HackBot
parents:
diff changeset
832 # with a frequency that depends on the potential
e037173e0012 Initial import.
HackBot
parents:
diff changeset
833 # applied across the superconductors. This frequency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
834 # can be very accurately measured. The Josephson
e037173e0012 Initial import.
HackBot
parents:
diff changeset
835 # constant K_J, which is equal to 2e/h, relates the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
836 # measured frequency to the potential. The value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
837 # given here is the officially specified value for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
838 # use beginning in 1990. The 2006 recommended value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
839 # of the constant is 483597.891 GHz/V.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
840 R_K 25812.807 ohm # Measurement of the ohm also presents difficulties.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
841 # The old approach involved maintaining resistances
e037173e0012 Initial import.
HackBot
parents:
diff changeset
842 # that were subject to drift. The new standard is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
843 # based on the Hall effect. When a current carrying
e037173e0012 Initial import.
HackBot
parents:
diff changeset
844 # ribbon is placed in a magnetic field, a potential
e037173e0012 Initial import.
HackBot
parents:
diff changeset
845 # difference develops across the ribbon. The ratio
e037173e0012 Initial import.
HackBot
parents:
diff changeset
846 # of the potential difference to the current is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
847 # called the Hall resistance. Klaus von Klitzing
e037173e0012 Initial import.
HackBot
parents:
diff changeset
848 # discovered in 1980 that the Hall resistance varies
e037173e0012 Initial import.
HackBot
parents:
diff changeset
849 # in discrete jumps when the magnetic field is very
e037173e0012 Initial import.
HackBot
parents:
diff changeset
850 # large and the temperature very low. This enables
e037173e0012 Initial import.
HackBot
parents:
diff changeset
851 # accurate realization of the resistance h/e^2 in the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
852 # lab. The value given here is the officially
e037173e0012 Initial import.
HackBot
parents:
diff changeset
853 # specified value for use beginning in 1990.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
854
e037173e0012 Initial import.
HackBot
parents:
diff changeset
855 # Various conventional values
e037173e0012 Initial import.
HackBot
parents:
diff changeset
856
e037173e0012 Initial import.
HackBot
parents:
diff changeset
857 gravity 9.80665 m/s^2 # std acceleration of gravity (exact)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
858 force gravity # use to turn masses into forces
e037173e0012 Initial import.
HackBot
parents:
diff changeset
859 atm 101325 Pa # Standard atmospheric pressure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
860 atmosphere atm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
861 Hg 13.5951 gram force / cm^3 # Standard weight of mercury (exact)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
862 water gram force/cm^3 # Standard weight of water (exact)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
863 waterdensity gram / cm^3 # Density of water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
864 H2O water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
865 wc water # water column
e037173e0012 Initial import.
HackBot
parents:
diff changeset
866 mach 331.46 m/s # speed of sound in dry air at STP
e037173e0012 Initial import.
HackBot
parents:
diff changeset
867 standardtemp 273.15 K # standard temperature
e037173e0012 Initial import.
HackBot
parents:
diff changeset
868 stdtemp standardtemp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
869
e037173e0012 Initial import.
HackBot
parents:
diff changeset
870 # Weight of mercury and water at different temperatures using the standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
871 # force of gravity.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
872
e037173e0012 Initial import.
HackBot
parents:
diff changeset
873 Hg10C 13.5708 force gram / cm^3 # These units, when used to form
e037173e0012 Initial import.
HackBot
parents:
diff changeset
874 Hg20C 13.5462 force gram / cm^3 # pressure measures, are not accurate
e037173e0012 Initial import.
HackBot
parents:
diff changeset
875 Hg23C 13.5386 force gram / cm^3 # because of considerations of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
876 Hg30C 13.5217 force gram / cm^3 # revised practical temperature scale.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
877 Hg40C 13.4973 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
878 Hg60F 13.5574 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
879 H2O0C 0.99987 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
880 H2O5C 0.99999 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
881 H2O10C 0.99973 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
882 H2O15C 0.99913 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
883 H2O18C 0.99862 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
884 H2O20C 0.99823 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
885 H2O25C 0.99707 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
886 H2O50C 0.98807 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
887 H2O100C 0.95838 force gram / cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
888
e037173e0012 Initial import.
HackBot
parents:
diff changeset
889 # Atomic constants
e037173e0012 Initial import.
HackBot
parents:
diff changeset
890
e037173e0012 Initial import.
HackBot
parents:
diff changeset
891 Rinfinity 10973731.568527 /m # The wavelengths of a spectral series
e037173e0012 Initial import.
HackBot
parents:
diff changeset
892 R_H 10967760 /m # can be expressed as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
893 # 1/lambda = R (1/m^2 - 1/n^2).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
894 # where R is a number that various
e037173e0012 Initial import.
HackBot
parents:
diff changeset
895 # slightly from element to element.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
896 # For hydrogen, R_H is the value,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
897 # and for heavy elements, the value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
898 # approaches Rinfinity, which can be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
899 # computed from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
900 # m_e c alpha^2 / 2 h
e037173e0012 Initial import.
HackBot
parents:
diff changeset
901 # with a loss of 5 digits
e037173e0012 Initial import.
HackBot
parents:
diff changeset
902 # of precision.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
903 alpha 7.2973525376e-3 # The fine structure constant was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
904 # introduced to explain fine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
905 # structure visible in spectral
e037173e0012 Initial import.
HackBot
parents:
diff changeset
906 # lines. It can be computed from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
907 # mu0 c e^2 / 2 h
e037173e0012 Initial import.
HackBot
parents:
diff changeset
908 # with a loss of 3 digits precision
e037173e0012 Initial import.
HackBot
parents:
diff changeset
909 # and loss of precision in derived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
910 # values which use alpha.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
911 bohrradius alpha / 4 pi Rinfinity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
912 prout 185.5 keV # nuclear binding energy equal to 1|12
e037173e0012 Initial import.
HackBot
parents:
diff changeset
913 # binding energy of the deuteron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
914 # Planck constants
e037173e0012 Initial import.
HackBot
parents:
diff changeset
915
e037173e0012 Initial import.
HackBot
parents:
diff changeset
916 planckmass 2.17644e-8 kg # sqrt(hbar c / G)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
917 m_P planckmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
918 plancktime hbar / planckmass c^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
919 t_P plancktime
e037173e0012 Initial import.
HackBot
parents:
diff changeset
920 plancklength plancktime c
e037173e0012 Initial import.
HackBot
parents:
diff changeset
921 l_P plancklength
e037173e0012 Initial import.
HackBot
parents:
diff changeset
922
e037173e0012 Initial import.
HackBot
parents:
diff changeset
923 # Masses of elementary particles
e037173e0012 Initial import.
HackBot
parents:
diff changeset
924
e037173e0012 Initial import.
HackBot
parents:
diff changeset
925 electronmass 5.4857990943e-4 u
e037173e0012 Initial import.
HackBot
parents:
diff changeset
926 m_e electronmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
927 protonmass 1.00727646677 u
e037173e0012 Initial import.
HackBot
parents:
diff changeset
928 m_p protonmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
929 neutronmass 1.00866491597 u
e037173e0012 Initial import.
HackBot
parents:
diff changeset
930 m_n neutronmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
931 muonmass 0.1134289256 u
e037173e0012 Initial import.
HackBot
parents:
diff changeset
932 m_mu muonmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
933 deuteronmass 2.013553212724 u
e037173e0012 Initial import.
HackBot
parents:
diff changeset
934 m_d deuteronmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
935 alphaparticlemass 4.001506179127 u
e037173e0012 Initial import.
HackBot
parents:
diff changeset
936 m_alpha alphaparticlemass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
937
e037173e0012 Initial import.
HackBot
parents:
diff changeset
938 # particle wavelengths: the compton wavelength of a particle is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
939 # defined as h / m c where m is the mass of the particle.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
940
e037173e0012 Initial import.
HackBot
parents:
diff changeset
941 electronwavelength h / m_e c
e037173e0012 Initial import.
HackBot
parents:
diff changeset
942 lambda_C electronwavelength
e037173e0012 Initial import.
HackBot
parents:
diff changeset
943 protonwavelength h / m_p c
e037173e0012 Initial import.
HackBot
parents:
diff changeset
944 lambda_C,p protonwavelength
e037173e0012 Initial import.
HackBot
parents:
diff changeset
945 neutronwavelength h / m_n c
e037173e0012 Initial import.
HackBot
parents:
diff changeset
946 lambda_C,n neutronwavelength
e037173e0012 Initial import.
HackBot
parents:
diff changeset
947
e037173e0012 Initial import.
HackBot
parents:
diff changeset
948 # Magnetic moments
e037173e0012 Initial import.
HackBot
parents:
diff changeset
949
e037173e0012 Initial import.
HackBot
parents:
diff changeset
950 bohrmagneton e hbar / 2 electronmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
951 mu_B bohrmagneton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
952 nuclearmagneton e hbar / 2 protonmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
953 mu_N nuclearmagneton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
954 mu_mu 4.49044786e-26 J/T # Muon magnetic moment
e037173e0012 Initial import.
HackBot
parents:
diff changeset
955 mu_p 1.410606662e-26 J/T # Proton magnetic moment
e037173e0012 Initial import.
HackBot
parents:
diff changeset
956 mu_e 928.476377e-26 J/T # Electron magnetic moment
e037173e0012 Initial import.
HackBot
parents:
diff changeset
957 mu_n 0.96623641e-26 J/T # Neutron magnetic moment
e037173e0012 Initial import.
HackBot
parents:
diff changeset
958 mu_d 0.433073465e-26 J/T # Deuteron magnetic moment
e037173e0012 Initial import.
HackBot
parents:
diff changeset
959
e037173e0012 Initial import.
HackBot
parents:
diff changeset
960 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
961 # Units derived from physical constants
e037173e0012 Initial import.
HackBot
parents:
diff changeset
962 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
963
e037173e0012 Initial import.
HackBot
parents:
diff changeset
964 kgf kg force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
965 technicalatmosphere kgf / cm^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
966 at technicalatmosphere
e037173e0012 Initial import.
HackBot
parents:
diff changeset
967 hyl kgf s^2 / m # Also gram-force s^2/m according to [15]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
968 mmHg mm Hg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
969 torr mmHg # These units, both named after Evangelista
e037173e0012 Initial import.
HackBot
parents:
diff changeset
970 tor Pa # Torricelli, should not be confused.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
971 # Acording to [15] the torr is actually
e037173e0012 Initial import.
HackBot
parents:
diff changeset
972 # atm/760 which is slightly different.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
973 inHg inch Hg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
974 inH2O inch water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
975 mmH2O mm water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
976 eV e V # Energy acquired by a particle with charge e
e037173e0012 Initial import.
HackBot
parents:
diff changeset
977 electronvolt eV # when it is accelerated through 1 V
e037173e0012 Initial import.
HackBot
parents:
diff changeset
978 lightyear c julianyear # The 365.25 day year is specified in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
979 ly lightyear # NIST publication 811
e037173e0012 Initial import.
HackBot
parents:
diff changeset
980 lightsecond c s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
981 lightminute c min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
982 parsec au / tan(arcsec) # Unit of length equal to distance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
983 pc parsec # from the sun to a point having
e037173e0012 Initial import.
HackBot
parents:
diff changeset
984 # heliocentric parallax of 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
985 # arcsec (derived from parallax
e037173e0012 Initial import.
HackBot
parents:
diff changeset
986 # second). A distant object with
e037173e0012 Initial import.
HackBot
parents:
diff changeset
987 # paralax theta will be about
e037173e0012 Initial import.
HackBot
parents:
diff changeset
988 # (arcsec/theta) parsecs from the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
989 # sun (using the approximation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
990 # that tan(theta) = theta).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
991 rydberg h c Rinfinity # Rydberg energy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
992 crith 0.089885 gram # The crith is the mass of one
e037173e0012 Initial import.
HackBot
parents:
diff changeset
993 # liter of hydrogen at standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
994 # temperature and pressure.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
995 amagatvolume molarvolume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
996 amagat mol/amagatvolume # Used to measure gas densities
e037173e0012 Initial import.
HackBot
parents:
diff changeset
997 lorentz bohrmagneton / h c # Used to measure the extent
e037173e0012 Initial import.
HackBot
parents:
diff changeset
998 # that the frequency of light
e037173e0012 Initial import.
HackBot
parents:
diff changeset
999 # is shifted by a magnetic field.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1000 cminv h c / cm # Unit of energy used in infrared
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1001 invcm cminv # spectroscopy.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1002 wavenumber cminv
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1003 kcal_mol kcal_th / mol N_A # kcal/mol is used as a unit of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1004 # energy by physical chemists.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1005 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1006 # CGS system based on centimeter, gram and second
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1007 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1008
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1009 dyne cm gram / s^2 # force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1010 dyn dyne
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1011 erg cm dyne # energy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1012 poise gram / cm s # viscosity, honors Jean Poiseuille
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1013 P poise
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1014 rhe /poise # reciprocal viscosity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1015 stokes cm^2 / s # kinematic viscosity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1016 St stokes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1017 stoke stokes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1018 lentor stokes # old name
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1019 Gal cm / s^2 # acceleration, used in geophysics
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1020 galileo Gal # for earth's gravitational field
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1021 # (note that "gal" is for gallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1022 # but "Gal" is the standard symbol
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1023 # for the gal which is evidently a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1024 # shortened form of "galileo".)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1025 barye dyne/cm^2 # pressure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1026 barad barye # old name
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1027 kayser 1/cm # Proposed as a unit for wavenumber
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1028 balmer kayser # Even less common name than "kayser"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1029 kine cm/s # velocity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1030 bole g cm / s # momentum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1031 pond gram force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1032 glug gram force s^2 / cm # Mass which is accelerated at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1033 # 1 cm/s^2 by 1 gram force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1034 darcy centipoise cm^2 / s atm # Measures permeability to fluid flow.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1035
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1036 # One darcy is the permeability of a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1037 # medium that allows a flow of cc/s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1038 # of a liquid of centipoise viscosity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1039 # under a pressure gradient of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1040 # atm/cm. Named for H. Darcy.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1041
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1042 mohm cm / dyn s # mobile ohm, measure of mechanical
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1043 mobileohm mohm # mobility
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1044 mechanicalohm dyn s / cm # mechanical resistance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1045 acousticalohm dyn s / cm^5 # ratio of the sound pressure of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1046 # 1 dyn/cm^2 to a source of strength
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1047 # 1 cm^3/s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1048 ray acousticalohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1049 rayl dyn s / cm^3 # Specific acoustical resistance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1050 eotvos 1e-9 Gal/cm # Change in gravitational acceleration
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1051 # over horizontal distance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1052
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1053 # Electromagnetic units derived from the abampere
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1054
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1055 abampere 10 A # Current which produces a force of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1056 abamp abampere # 2 dyne/cm between two infinitely
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1057 aA abampere # long wires that are 1 cm apart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1058 biot aA # alternative name for abamp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1059 Bi biot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1060 abcoulomb abamp sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1061 abcoul abcoulomb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1062 abfarad abampere sec / abvolt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1063 abhenry abvolt sec / abamp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1064 abvolt dyne cm / abamp sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1065 abohm abvolt / abamp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1066 abmho /abohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1067 gauss abvolt sec / cm^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1068 Gs gauss
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1069 maxwell abvolt sec # Also called the "line"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1070 Mx maxwell
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1071 oersted gauss / mu0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1072 Oe oersted
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1073 gilbert gauss cm / mu0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1074 Gb gilbert
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1075 Gi gilbert
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1076 unitpole 4 pi maxwell
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1077 emu erg/gauss # "electro-magnetic unit", a measure of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1078 # magnetic moment, often used as emu/cm^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1079 # to specify magnetic moment density.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1080
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1081 # Gaussian system: electromagnetic units derived from statampere.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1082 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1083 # Note that the Gaussian units are often used in such a way that Coulomb's law
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1084 # has the form F= q1 * q2 / r^2. The constant 1|4*pi*epsilon0 is incorporated
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1085 # into the units. From this, we can get the relation force=charge^2/dist^2.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1086 # This means that the simplification esu^2 = dyne cm^2 can be used to simplify
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1087 # units in the Gaussian system, with the curious result that capacitance can be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1088 # measured in cm, resistance in sec/cm, and inductance in sec^2/cm. These
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1089 # units are given the names statfarad, statohm and stathenry below.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1090
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1091 statampere 10 A cm / s c
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1092 statamp statampere
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1093 statvolt dyne cm / statamp sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1094 statcoulomb statamp s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1095 esu statcoulomb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1096 statcoul statcoulomb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1097 statfarad statamp sec / statvolt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1098 cmcapacitance statfarad
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1099 stathenry statvolt sec / statamp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1100 statohm statvolt / statamp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1101 statmho /statohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1102 statmaxwell statvolt sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1103 franklin statcoulomb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1104 debye 1e-18 statcoul cm # unit of electrical dipole moment
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1105 helmholtz debye/angstrom^2 # Dipole moment per area
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1106 jar 1000 statfarad # approx capacitance of Leyden jar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1107
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1108 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1109 # Some historical eletromagnetic units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1110 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1111
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1112 intampere 0.999835 A # Defined as the current which in one
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1113 intamp intampere # second deposits .001118 gram of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1114 # silver from an aqueous solution of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1115 # silver nitrate.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1116 intfarad 0.999505 F
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1117 intvolt 1.00033 V
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1118 intohm 1.000495 ohm # Defined as the resistance of a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1119 # uniform column of mercury containing
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1120 # 14.4521 gram in a column 1.063 m
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1121 # long and maintained at 0 degC.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1122 daniell 1.042 V # Meant to be electromotive force of a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1123 # Daniell cell, but in error by .04 V
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1124 faraday N_A e mol # Charge that must flow to deposit or
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1125 faraday_phys 96521.9 C # liberate one gram equivalent of any
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1126 faraday_chem 96495.7 C # element. (The chemical and physical
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1127 # values are off slightly from what is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1128 # obtained by multiplying by amu_chem
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1129 # or amu_phys. These values are from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1130 # a 1991 NIST publication.) Note that
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1131 # there is a Faraday constant which is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1132 # equal to N_A e and hence has units of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1133 # C/mol.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1134 kappline 6000 maxwell # Named by and for Gisbert Kapp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1135 siemensunit 0.9534 ohm # Resistance of a meter long column of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1136 # mercury with a 1 mm cross section.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1137
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1138 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1139 # Photometric units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1140 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1141
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1142 LUMINOUS_INTENSITY candela
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1143 LUMINOUS_FLUX lumen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1144 LUMINOUS_ENERGY talbot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1145 ILLUMINANCE lux
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1146 EXITANCE lux
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1147
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1148 candle 1.02 candela # Standard unit for luminous intensity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1149 hefnerunit 0.9 candle # in use before candela
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1150 hefnercandle hefnerunit #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1151 violle 20.17 cd # luminous intensity of 1 cm^2 of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1152 # platinum at its temperature of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1153 # solidification (2045 K)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1154
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1155 lumen cd sr # Luminous flux (luminous energy per
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1156 lm lumen # time unit)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1157
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1158 talbot lumen s # Luminous energy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1159 lumberg talbot # References give these values for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1160 lumerg talbot # lumerg and lumberg both. Note that
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1161 # a paper from 1948 suggests that
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1162 # lumerg should be 1e-7 talbots so
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1163 # that lumergs/erg = talbots/joule.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1164 # lumerg = luminous erg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1165 lux lm/m^2 # Illuminance or exitance (luminous
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1166 lx lux # flux incident on or coming from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1167 phot lumen / cm^2 # a surface)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1168 ph phot #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1169 footcandle lumen/ft^2 # Illuminance from a 1 candela source
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1170 # at a distance of one foot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1171 metercandle lumen/m^2 # Illuminance from a 1 candela source
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1172 # at a distance of one meter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1173
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1174 mcs metercandle s # luminous energy per area, used to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1175 # measure photographic exposure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1176
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1177 nox 1e-3 lux # These two units were proposed for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1178 skot 1e-3 apostilb # measurements relating to dark adapted
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1179 # eyes.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1180 # Luminance measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1181
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1182 LUMINANCE nit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1183
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1184 nit cd/m^2 # Luminance: the intensity per projected
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1185 stilb cd / cm^2 # area of an extended luminous source.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1186 sb stilb # (nit is from latin nitere = to shine.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1187
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1188 apostilb cd/pi m^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1189 asb apostilb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1190 blondel apostilb # Named after a French scientist.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1191
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1192 # Equivalent luminance measures. These units are units which measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1193 # the luminance of a surface with a specified exitance which obeys
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1194 # Lambert's law. (Lambert's law specifies that luminous intensity of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1195 # a perfectly diffuse luminous surface is proportional to the cosine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1196 # of the angle at which you view the luminous surface.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1197
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1198 equivalentlux cd / pi m^2 # luminance of a 1 lux surface
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1199 equivalentphot cd / pi cm^2 # luminance of a 1 phot surface
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1200 lambert cd / pi cm^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1201 footlambert cd / pi ft^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1202
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1203 # The bril is used to express "brilliance" of a source of light on a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1204 # logarithmic scale to correspond to subjective perception. An increase of 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1205 # bril means doubling the luminance. A luminance of 1 lambert is defined to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1206 # have a brilliance of 1 bril.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1207
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1208 bril(x) [;lambert] 2^(x+-100) lamberts ;log2(bril/lambert)+100
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1209
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1210 # Some luminance data from the IES Lighting Handbook, 8th ed, 1993
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1211
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1212 sunlum 1.6e9 cd/m^2 # at zenith
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1213 sunillum 100e3 lux # clear sky
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1214 sunillum_o 10e3 lux # overcast sky
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1215 sunlum_h 6e6 cd/m^2 # value at horizon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1216 skylum 8000 cd/m^2 # average, clear sky
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1217 skylum_o 2000 cd/m^2 # average, overcast sky
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1218 moonlum 2500 cd/m^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1219
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1220 # Photographic Exposure Value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1221 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1222 # The Additive Photographic EXposure (APEX) system developed in Germany in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1223 # the 1960s was an attempt to simplify exposure determination for people
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1224 # who relied on exposure tables rather than exposure meters. Shortly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1225 # thereafter, nearly all cameras incorporated exposure meters, so the APEX
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1226 # system never caught on, but the concept of Exposure Value (EV) given by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1227 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1228 # A^2 LS ES
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1229 # 2^EV = --- = -- = --
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1230 # T K C
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1231 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1232 # Where
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1233 # A = Relative aperture (f-number)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1234 # T = Shutter time in seconds
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1235 # L = Scene luminance in cd/m2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1236 # E = Scene illuminance in lux
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1237 # S = Arithmetic ISO film speed
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1238 # K = Reflected-light meter calibration constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1239 # C = Incident-light meter calibration constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1240 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1241 # remains in use. Strictly speaking, an Exposure Value is a combination
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1242 # of aperture and shutter time, but it's also commonly used to indicate
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1243 # luminance (or illuminance). Conversion to luminance or illuminance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1244 # units depends on the ISO film speed and the meter calibration constant.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1245 # Common practice is to use an ISO film speed of 100 (because film speeds
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1246 # are in even 1/3-step increments, the exact value is 64 * 2^(2|3)).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1247 # Calibration constants vary among camera and meter manufacturers: Canon,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1248 # Nikon, and Sekonic use a value of 12.5 for reflected-light meters, while
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1249 # Minolta and Pentax use a value of 14. Minolta and Sekonic use a value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1250 # of 250 for incident-light meters with flat receptors.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1251
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1252 s100 64 * 2^(2|3) / lx s # exact speed for ISO 100 film
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1253
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1254 # Reflected-light meter calibration constant with ISO 100 film
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1255
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1256 k1250 12.5 (cd/m2) / lx s # For Canon, Nikon, and Sekonic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1257 k1400 14 (cd/m2) / lx s # For Minolta and Pentax
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1258
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1259 # Incident-light meter calibration constant with ISO 100 film
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1260
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1261 c250 250 lx / lx s # flat-disc receptor
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1262
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1263 # Exposure value to scene luminance with ISO 100 film
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1264
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1265 # For Minolta or Pentax
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1266 #ev100(x) [;cd/m^2] 2^x k1400 / s100; log2(ev100 s100 / k1400)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1267 # For Canon, Nikon or Sekonic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1268 ev100(x) [;cd/m^2] 2^x k1250 / s100; log2(ev100 s100 / k1250)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1269
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1270 # Exposure value to scene illuminance with ISO 100 film
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1271
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1272 iv100(x) [1;lx] 2^x c250 / s100; log2(iv100 s100 / c250)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1273
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1274 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1275 # Astronomical time measurements
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1276 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1277 # Astronmical time measurement is a complicated matter. The length of the true
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1278 # day at a given place can be 21 seconds less than 24 hours or 30 seconds over
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1279 # 24 hours. The two main reasons for this are the varying speed of the earth
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1280 # in its elliptical orbit and the fact that the sun moves on the ecliptic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1281 # instead of along the celestial equator. To devise a workable system for time
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1282 # measurement, Simon Newcomb (1835-1909) used a fictitious "mean sun".
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1283 # Consider a first fictitious sun traveling along the ecliptic at a constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1284 # speed and coinciding with the true sun at perigee and apogee. Then
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1285 # considering a second fictitious sun traveling along the celestial equator at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1286 # a constant speed and coinciding with the first fictitious sun at the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1287 # equinoxes. The second fictitious sun is the "mean sun". From this equations
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1288 # can be written out to determine the length of the mean day, and the tropical
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1289 # year. The length of the second was determined based on the tropical year
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1290 # from such a calculation and was officially used from 1960-1967 until atomic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1291 # clocks replaced astronomical measurements for a standard of time. All of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1292 # values below give the mean time for the specified interval.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1293 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1294 # See "Mathematical Astronomy Morsels" by Jean Meeus for more details
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1295 # and a description of how to compute the correction to mean time.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1296 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1297
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1298 TIME second
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1299
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1300 anomalisticyear 365.2596 days # The time between successive
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1301 # perihelion passages of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1302 # earth.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1303 siderealyear 365.256360417 day # The time for the earth to make
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1304 # one revolution around the sun
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1305 # relative to the stars.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1306 tropicalyear 365.242198781 day # The time needed for the mean sun
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1307 # as defined above to increase
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1308 # its longitude by 360 degrees.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1309 # Most references defined the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1310 # tropical year as the interval
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1311 # between vernal equinoxes, but
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1312 # this is misleading. The length
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1313 # of the season changes over time
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1314 # because of the eccentricity of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1315 # the earth's orbit. The time
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1316 # between vernal equinoxes is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1317 # approximately 365.24237 days
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1318 # around the year 2000. See
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1319 # "Mathematical Astronomy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1320 # Morsels" for more details.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1321 eclipseyear 346.62 days # The line of nodes is the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1322 # intersection of the plane of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1323 # Earth's orbit around the sun
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1324 # with the plane of the moon's
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1325 # orbit around earth. Eclipses
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1326 # can only occur when the moon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1327 # and sun are close to this
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1328 # line. The line rotates and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1329 # appearances of the sun on the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1330 # line of nodes occur every
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1331 # eclipse year.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1332 saros 223 synodicmonth # The earth, moon and sun appear in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1333 # the same arrangement every
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1334 # saros, so if an eclipse occurs,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1335 # then one saros later, a similar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1336 # eclipse will occur. (The saros
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1337 # is close to 19 eclipse years.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1338 # The eclipse will occur about
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1339 # 120 degrees west of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1340 # preceeding one because the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1341 # saros is not an even number of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1342 # days. After 3 saros, an
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1343 # eclipse will occur at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1344 # approximately the same place.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1345 siderealday 86164.09054 s # The sidereal day is the interval
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1346 siderealhour 1|24 siderealday # between two successive transits
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1347 siderealminute 1|60 siderealhour # of a star over the meridian,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1348 siderealsecond 1|60 siderealminute # or the time required for the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1349 # earth to make one rotation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1350 # relative to the stars. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1351 # more usual solar day is the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1352 # time required to make a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1353 # rotation relative to the sun.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1354 # Because the earth moves in its
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1355 # orbit, it has to turn a bit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1356 # extra to face the sun again,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1357 # hence the solar day is slightly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1358 # longer.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1359 anomalisticmonth 27.55454977 day # Time for the moon to travel from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1360 # perigee to perigee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1361 nodicalmonth 27.2122199 day # The nodes are the points where
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1362 draconicmonth nodicalmonth # an orbit crosses the ecliptic.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1363 draconiticmonth nodicalmonth # This is the time required to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1364 # travel from the ascending node
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1365 # to the next ascending node.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1366 siderealmonth 27.321661 day # Time required for the moon to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1367 # orbit the earth
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1368 lunarmonth 29 days + 12 hours + 44 minutes + 2.8 seconds
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1369 # Mean time between full moons.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1370 synodicmonth lunarmonth # Full moons occur when the sun
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1371 lunation synodicmonth # and moon are on opposite sides
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1372 lune 1|30 lunation # of the earth. Since the earth
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1373 lunour 1|24 lune # moves around the sun, the moon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1374 # has to revolve a bit extra to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1375 # get into the full moon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1376 # configuration.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1377 year tropicalyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1378 yr year
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1379 month 1|12 year
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1380 mo month
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1381 lustrum 5 years # The Lustrum was a Roman
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1382 # purification ceremony that took
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1383 # place every five years.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1384 # Classically educated Englishmen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1385 # used this term.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1386 decade 10 years
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1387 century 100 years
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1388 millennium 1000 years
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1389 millennia millennium
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1390 solaryear year
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1391 lunaryear 12 lunarmonth
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1392 calendaryear 365 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1393 commonyear 365 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1394 leapyear 366 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1395 julianyear 365.25 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1396 gregorianyear 365.2425 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1397 islamicyear 354 day # A year of 12 lunar months. They
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1398 islamicleapyear 355 day # began counting on July 16, AD 622
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1399 # when Muhammad emigrated to Medina
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1400 # (the year of the Hegira). They need
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1401 # 11 leap days in 30 years to stay in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1402 # sync with the lunar year which is a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1403 # bit longer than the 29.5 days of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1404 # average month. The months do not
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1405 # keep to the same seasons, but
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1406 # regress through the seasons every
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1407 # 32.5 years.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1408 islamicmonth 1|12 islamicyear # They have 29 day and 30 day months.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1409
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1410 # The Hewbrew year is also based on lunar months, but synchronized to the solar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1411 # calendar. The months vary irregularly between 29 and 30 days in length, and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1412 # the years likewise vary. The regular year is 353, 354, or 355 days long. To
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1413 # keep up with the solar calendar, a leap month of 30 days is inserted every
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1414 # 3rd, 6th, 8th, 11th, 14th, 17th, and 19th years of a 19 year cycle. This
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1415 # gives leap years that last 383, 384, or 385 days.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1416
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1417
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1418 # Sidereal days
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1419
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1420 mercuryday 58.6462 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1421 venusday 243.01 day # retrograde
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1422 earthday siderealday
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1423 marsday 1.02595675 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1424 jupiterday 0.41354 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1425 saturnday 0.4375 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1426 uranusday 0.65 day # retrograde
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1427 neptuneday 0.768 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1428 plutoday 6.3867 day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1429
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1430 # Sidereal years from http://ssd.jpl.nasa.gov/phys_props_planets.html. Data
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1431 # was updated in May 2001 based on the 1992 Explanatory Supplement to the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1432 # Astronomical Almanac and the mean longitude rates. Apparently the table of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1433 # years in that reference is incorrect.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1434
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1435 mercuryyear 0.2408467 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1436 venusyear 0.61519726 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1437 earthyear siderealyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1438 marsyear 1.8808476 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1439 jupiteryear 11.862615 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1440 saturnyear 29.447498 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1441 uranusyear 84.016846 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1442 neptuneyear 164.79132 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1443 plutoyear 247.92065 julianyear
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1444
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1445 # Objects on the earth are charted relative to a perfect ellipsoid whose
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1446 # dimensions are specified by different organizations. The ellipsoid is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1447 # specified by an equatorial radius and a flattening value which defines the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1448 # polar radius. These values are the 1996 values given by the International
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1449 # Earth Rotation Service (IERS) whose reference documents can be found at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1450 # http://maia.usno.navy.mil/
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1451
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1452 earthflattening 1|298.25642
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1453 earthradius_equatorial 6378136.49 m
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1454 earthradius_polar (-earthflattening+1) earthradius_equatorial
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1455
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1456 landarea 148.847e6 km^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1457 oceanarea 361.254e6 km^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1458
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1459 moonradius 1738 km # mean value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1460 sunradius 6.96e8 m
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1461
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1462 # Many astronomical values can be measured most accurately in a system of units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1463 # using the astronomical unit and the mass of the sun as base units. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1464 # uncertainty in the gravitational constant makes conversion to SI units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1465 # significantly less accurate.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1466
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1467 # The astronomical unit was defined to be the length of the of the semimajor
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1468 # axis of a massless object with the same year as the earth. With such a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1469 # definition in force, and with the mass of the sun set equal to one, Kepler's
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1470 # third law can be used to solve for the value of the gravitational constant.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1471
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1472 # Kepler's third law says that (2 pi / T)^2 a^3 = G M where T is the orbital
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1473 # period, a is the size of the semimajor axis, G is the gravitational constant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1474 # and M is the mass. With M = 1 and T and a chosen for the earth's orbit, we
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1475 # find sqrt(G) = (2 pi / T) sqrt(AU^3). This constant is called the Gaussian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1476 # gravitational constant, apparently because Gauss originally did the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1477 # calculations. However, when the original calculation was done, the value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1478 # for the length of the earth's year was inaccurate. The value used is called
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1479 # the Gaussian year. Changing the astronomical unit to bring it into
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1480 # agreement with more accurate values for the year would have invalidated a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1481 # lot of previous work, so instead the astronomical unit has been kept equal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1482 # to this original value. This is accomplished by using a standard value for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1483 # the Gaussian gravitational constant. This constant is called k.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1484 # Many values below are from http://ssd.jpl.nasa.gov/?constants
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1485
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1486 gauss_k 0.01720209895 # This beast has dimensions of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1487 # au^(3|2) / day and is exact.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1488 gaussianyear (2 pi / gauss_k) days # Year that corresponds to the Gaussian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1489 # gravitational constant. This is a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1490 # fictional year, and doesn't
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1491 # correspond to any celestial event.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1492 astronomicalunit 499.004783806 light second # Value from the DE-405
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1493 au astronomicalunit # ephemeris for the above described
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1494 # astronomical unit. (See the NASA
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1495 # site listed above.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1496 solarmass 1.9891e30 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1497 sunmass solarmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1498
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1499
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1500 sundist 1.0000010178 au # mean earth-sun distance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1501 moondist 3.844e8 m # mean earth-moon distance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1502 sundist_near 1.471e11 m # earth-sun distance at perihelion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1503 sundist_far 1.521e11 m # earth-sun distance at aphelion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1504
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1505 # The following are masses for planetary systems, not just the planet itself.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1506 # The comments give the uncertainty in the denominators. As noted above,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1507 # masses are given relative to the solarmass because this is more accurate.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1508 # The conversion to SI is uncertain because of uncertainty in G, the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1509 # gravitational constant.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1510 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1511 # Values are from http://ssd.jpl.nasa.gov/astro_constants.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1512
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1513 mercurymass solarmass / 6023600 # 250
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1514 venusmass solarmass / 408523.71 # 0.06
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1515 earthmoonmass solarmass / 328900.56 # 0.02
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1516 marsmass solarmass / 3098708 # 9
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1517 jupitermass solarmass / 1047.3486 # 0.0008
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1518 saturnmass solarmass / 3497.898 # 0.018
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1519 uranusmass solarmass / 22902.98 # 0.03
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1520 neptunemass solarmass / 19412.24 # 0.04
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1521 plutomass solarmass / 1.35e8 # 0.07e8
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1522
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1523 moonearthmassratio 0.012300034 # uncertainty 3 x 10-9
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1524 earthmass earthmoonmass / ( 1 + moonearthmassratio)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1525 moonmass moonearthmassratio earthmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1526
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1527 # These are the old values for the planetary masses. They may give
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1528 # the masses of the planets alone.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1529
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1530 oldmercurymass 0.33022e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1531 oldvenusmass 4.8690e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1532 oldmarsmass 0.64191e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1533 oldjupitermass 1898.8e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1534 oldsaturnmass 568.5e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1535 olduranusmass 86.625e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1536 oldneptunemass 102.78e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1537 oldplutomass 0.015e24 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1538
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1539 # Mean radius from http://ssd.jpl.nsaa.gov/phys_props_planets.html which in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1540 # turn cites Global Earth Physics by CF Yoder, 1995.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1541
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1542 mercuryradius 2440 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1543 venusradius 6051.84 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1544 earthradius 6371.01 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1545 marsradius 3389.92 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1546 jupiterradius 69911 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1547 saturnradius 58232 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1548 uranusradius 25362 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1549 neptuneradius 24624 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1550 plutoradius 1151 km
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1551
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1552 moongravity 1.62 m/s^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1553
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1554 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1555 # The Hartree system of atomic units, derived from fundamental units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1556 # of mass (of electron), action (planck's constant), charge, and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1557 # the coulomb constant.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1558
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1559 # Fundamental units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1560
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1561 atomicmass electronmass
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1562 atomiccharge e
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1563 atomicaction hbar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1564
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1565 # derived units (Warning: accuracy is lost from deriving them this way)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1566
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1567 atomiclength bohrradius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1568 atomictime hbar^3/coulombconst^2 atomicmass e^4 # Period of first
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1569 # bohr orbit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1570 atomicvelocity atomiclength / atomictime
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1571 atomicenergy hbar / atomictime
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1572 hartree atomicenergy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1573 Hartree hartree
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1574
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1575 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1576 # These thermal units treat entropy as charge, from [5]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1577 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1578
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1579 thermalcoulomb J/K # entropy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1580 thermalampere W/K # entropy flow
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1581 thermalfarad J/K^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1582 thermalohm K^2/W # thermal resistance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1583 fourier thermalohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1584 thermalhenry J K^2/W^2 # thermal inductance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1585 thermalvolt K # thermal potential difference
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1586
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1587
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1588 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1589 # United States units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1590 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1591
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1592 # linear measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1593
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1594 # The US Metric Law of 1866 legalized the metric system in the USA and defined
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1595 # the meter in terms of the British system with the exact 1 meter = 39.37
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1596 # inches. On April 5, 1893 Corwin Mendenhall decided, in what has become known
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1597 # as the "Mendenhall Order" that the meter and kilogram would be the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1598 # fundamental standards in the USA. The definition from 1866 was turned around
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1599 # to give an exact definition of the foot as 1200|3937 meters. This definition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1600 # was used until July of 1959 when the definition was changed to bring the US
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1601 # into agreement with other countries. Since 1959, the foot has been exactly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1602 # 0.3048 meters. At the same time it was decided that any data expressed in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1603 # feet derived from geodetic surveys within the US would continue to use the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1604 # old definition and call the old unit the "survey foot".
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1605
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1606 US 1200|3937 m/ft # These four values will convert
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1607 US- US # international measures to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1608 survey- US # US Survey measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1609 geodetic- US
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1610 int 3937|1200 ft/m # Convert US Survey measures to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1611 int- int # international measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1612
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1613 inch 2.54 cm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1614 in inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1615 foot 12 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1616 feet foot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1617 ft foot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1618 yard 3 ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1619 yd yard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1620 mile 5280 ft # The mile was enlarged from 5000 ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1621 # to this number in order to make
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1622 # it an even number of furlongs.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1623 # (The Roman mile is 5000 romanfeet.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1624 line 1|12 inch # Also defined as '.1 in' or as '1e-8 Wb'
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1625 rod 5.5 yard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1626 perch rod
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1627 furlong 40 rod # From "furrow long"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1628 statutemile mile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1629 league 3 mile # Intended to be an an hour's walk
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1630
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1631 # surveyor's measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1632
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1633 surveyorschain 66 surveyft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1634 surveychain surveyorschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1635 surveyorspole 1|4 surveyorschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1636 surveyorslink 1|100 surveyorschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1637 chain 66 ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1638 link 1|100 chain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1639 ch chain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1640 usacre 10 surveychain^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1641 intacre 10 chain^2 # Acre based on international ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1642 intacrefoot acre surveyfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1643 usacrefoot usacre surveyfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1644 section mile^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1645 township 36 section
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1646 homestead 160 acre # Area of land granted by the 1862 Homestead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1647 # Act of the United States Congress
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1648 gunterschain surveyorschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1649
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1650 engineerschain 100 ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1651 engineerslink 1|100 engineerschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1652 ramsdenschain engineerschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1653 ramsdenslink engineerslink
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1654
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1655 gurleychain 33 feet # Andrew Ellicott chain is the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1656 gurleylink 1|50 gurleychain # same length
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1657
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1658 wingchain 66 feet # Chain from 1664, introduced by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1659 winglink 1|80 wingchain # Vincent Wing, also found in a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1660 # 33 foot length with 40 links.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1661
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1662
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1663
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1664 # nautical measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1665
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1666 fathom 6 ft # Originally defined as the distance from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1667 # fingertip to fingertip with arms fully
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1668 # extended.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1669 nauticalmile 1852 m # Supposed to be one minute of latitude at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1670 # the equator. That value is about 1855 m.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1671 # Early estimates of the earth's circumference
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1672 # were a bit off. The value of 1852 m was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1673 # made the international standard in 1929.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1674 # The US did not accept this value until
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1675 # 1954. The UK switched in 1970.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1676
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1677 cable 1|10 nauticalmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1678 intcable cable # international cable
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1679 cablelength cable
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1680 UScable 100 USfathom
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1681 navycablelength 720 USft # used for depth in water
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1682 marineleague 3 nauticalmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1683 geographicalmile brnauticalmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1684 knot nauticalmile / hr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1685 click km # US military slang
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1686 klick click
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1687
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1688 # Avoirdupois weight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1689
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1690 pound 0.45359237 kg # The one normally used
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1691 lb pound # From the latin libra
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1692 grain 1|7000 pound # The grain is the same in all three
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1693 # weight systems. It was originally
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1694 # defined as the weight of a barley
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1695 # corn taken from the middle of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1696 # ear.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1697 ounce 1|16 pound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1698 oz ounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1699 dram 1|16 ounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1700 dr dram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1701 ushundredweight 100 pounds
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1702 cwt hundredweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1703 shorthundredweight ushundredweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1704 uston shortton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1705 shortton 2000 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1706 quarterweight 1|4 uston
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1707 shortquarterweight 1|4 shortton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1708 shortquarter shortquarterweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1709
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1710 # Troy Weight. In 1828 the troy pound was made the first United States
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1711 # standard weight. It was to be used to regulate coinage.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1712
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1713 troypound 5760 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1714 troyounce 1|12 troypound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1715 ozt troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1716 pennyweight 1|20 troyounce # Abbreviated "d" in reference to a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1717 dwt pennyweight # Frankish coin called the "denier"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1718 # minted in the late 700's. There
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1719 # were 240 deniers to the pound.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1720 assayton mg ton / troyounce # mg / assayton = troyounce / ton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1721 usassayton mg uston / troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1722 brassayton mg brton / troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1723 fineounce troyounce # A troy ounce of 99.5% pure gold
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1724
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1725 # Some other jewelers units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1726
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1727 metriccarat 0.2 gram # Defined in 1907
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1728 metricgrain 50 mg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1729 carat metriccarat
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1730 ct carat
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1731 jewelerspoint 1|100 carat
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1732 silversmithpoint 1|4000 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1733 momme 3.75 grams # Traditional Japanese unit based
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1734 # on the chinese mace. It is used for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1735 # pearls in modern times and also for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1736 # silk density. The definition here
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1737 # was adopted in 1891.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1738 # Apothecaries' weight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1739
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1740 appound troypound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1741 apounce troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1742 apdram 1|8 apounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1743 apscruple 1|3 apdram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1744
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1745 # Liquid measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1746
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1747 usgallon 231 in^3 # US liquid measure is derived from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1748 gal gallon # the British wine gallon of 1707.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1749 quart 1|4 gallon # See the "winegallon" entry below
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1750 pint 1|2 quart # more historical information.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1751 gill 1|4 pint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1752 usquart 1|4 usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1753 uspint 1|2 usquart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1754 usgill 1|4 uspint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1755 usfluidounce 1|16 uspint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1756 fluiddram 1|8 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1757 minimvolume 1|60 fluiddram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1758 qt quart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1759 pt pint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1760 floz fluidounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1761 usfloz usfluidounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1762 fldr fluiddram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1763 liquidbarrel 31.5 usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1764 usbeerbarrel 2 beerkegs
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1765 beerkeg 15.5 usgallon # Various among brewers
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1766 ponykeg 1|2 beerkeg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1767 winekeg 12 usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1768 petroleumbarrel 42 usgallon # Originated in Pennsylvania oil
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1769 barrel petroleumbarrel # fields, from the winetierce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1770 bbl barrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1771 ushogshead 2 liquidbarrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1772 usfirkin 9 gallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1773
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1774 # Dry measures: The Winchester Bushel was defined by William III in 1702 and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1775 # legally adopted in the US in 1836.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1776
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1777 usbushel 2150.42 in^3 # Volume of 8 inch cylinder with 18.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1778 bu bushel # inch diameter (rounded)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1779 peck 1|4 bushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1780 uspeck 1|4 usbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1781 brpeck 1|4 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1782 pk peck
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1783 drygallon 1|2 uspeck
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1784 dryquart 1|4 drygallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1785 drypint 1|2 dryquart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1786 drybarrel 7056 in^3 # Used in US for fruits, vegetables,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1787 # and other dry commodities except for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1788 # cranberries.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1789 cranberrybarrel 5826 in^3 # US cranberry barrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1790 heapedbushel 1.278 usbushel# The following explanation for this
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1791 # value was provided by Wendy Krieger
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1792 # <os2fan2@yahoo.com> based on
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1793 # guesswork. The cylindrical vessel is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1794 # 18.5 inches in diameter and 1|2 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1795 # thick. A heaped bushel includes the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1796 # contents of this cylinder plus a heap
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1797 # on top. The heap is a cone 19.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1798 # inches in diameter and 6 inches
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1799 # high. With these values, the volume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1800 # of the bushel is 684.5 pi in^3 and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1801 # the heap occupies 190.125 pi in^3.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1802 # Therefore, the heaped bushel is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1803 # 874.625|684.5 bushels. This value is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1804 # approximately 1.2777575 and it rounds
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1805 # to the value listed for the size of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1806 # the heaped bushel. Sometimes the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1807 # heaped bushel is reported as 1.25
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1808 # bushels. This same explanation gives
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1809 # that value if the heap is taken to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1810 # have an 18.5 inch diameter.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1811
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1812 # Grain measures. The bushel as it is used by farmers in the USA is actually
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1813 # a measure of mass which varies for different commodities. Canada uses the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1814 # same bushel masses for most commodities, but not for oats.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1815
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1816 wheatbushel 60 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1817 soybeanbushel 60 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1818 cornbushel 56 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1819 ryebushel 56 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1820 barleybushel 48 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1821 oatbushel 32 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1822 ricebushel 45 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1823 canada_oatbushel 34 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1824
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1825 # Wine and Spirits measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1826
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1827 ponyvolume 1 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1828 jigger 1.5 usfloz # Can vary between 1 and 2 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1829 shot jigger # Sometimes 1 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1830 eushot 25 ml # EU standard spirits measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1831 fifth 1|5 usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1832 winebottle 750 ml # US industry standard, 1979
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1833 winesplit 1|4 winebottle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1834 wineglass 4 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1835 magnum 1.5 liter # Standardized in 1979, but given
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1836 # as 2 qt in some references
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1837 metrictenth 375 ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1838 metricfifth 750 ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1839 metricquart 1 liter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1840
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1841 # Old British bottle size
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1842
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1843 reputedquart 1|6 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1844 reputedpint 1|2 reputedquart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1845 brwinebottle reputedquart # Very close to 1|5 winegallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1846
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1847 # French champagne bottle sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1848
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1849 split 200 ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1850 jeroboam 2 magnum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1851 rehoboam 3 magnum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1852 methuselah 4 magnum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1853 salmanazar 6 magnum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1854 balthazar 8 magnum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1855 nebuchadnezzar 10 magnum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1856
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1857 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1858 # Water is "hard" if it contains various minerals, expecially calcium
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1859 # carbonate.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1860 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1861
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1862 clarkdegree 1|70000 # Content by weigh of calcium carbonate
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1863 gpg grains/gallon # Divide by water's density to convert to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1864 # a dimensionless concentration measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1865 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1866 # Shoe measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1867 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1868
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1869 shoeiron 1|48 inch # Used to measure leather in soles
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1870 shoeounce 1|64 inch # Used to measure non-sole shoe leather
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1871
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1872 # USA shoe sizes. These express the length of the shoe or the length
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1873 # of the "last", the form that the shoe is made on. But note that
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1874 # this only captures the length. It appears that widths change 1/4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1875 # inch for each letter within the same size, and if you change the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1876 # length by half a size then the width changes between 1/8 inch and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1877 # 1/4 inch. But this may not be standard. If you know better, please
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1878 # contact me.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1879
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1880 shoesize_delta 1|3 inch # USA shoe sizes differ by this amount
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1881 shoe_men0 8.25 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1882 shoe_women0 (7+11|12) inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1883 shoe_boys0 (3+11|12) inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1884 shoe_girls0 (3+7|12) inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1885
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1886 shoesize_men(n) [;inch] shoe_men0 + n shoesize_delta ; \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1887 (shoesize_men+(-shoe_men0))/shoesize_delta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1888 shoesize_women(n) [;inch] shoe_women0 + n shoesize_delta ; \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1889 (shoesize_women+(-shoe_women0))/shoesize_delta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1890 shoesize_boys(n) [;inch] shoe_boys0 + n shoesize_delta ; \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1891 (shoesize_boys+(-shoe_boys0))/shoesize_delta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1892 shoesize_girls(n) [;inch] shoe_girls0 + n shoesize_delta ; \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1893 (shoesize_girls+(-shoe_girls0))/shoesize_delta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1894
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1895 # European shoe size. According to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1896 # http://www.shoeline.com/footnotes/shoeterm.shtml#paris points
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1897
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1898 # sizes in Europe are measured with Paris points which simply measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1899 # the length of the shoe.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1900
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1901 europeshoesize 2|3 cm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1902
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1903 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1904 # USA slang units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1905 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1906
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1907 buck US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1908 fin 5 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1909 sawbuck 10 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1910 usgrand 1000 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1911 greenback US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1912 key kg # usually of marijuana, 60's
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1913 lid 1 oz # Another 60's weed unit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1914 footballfield usfootballfield
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1915 usfootballfield 100 yards
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1916 canadafootballfield 110 yards # And 65 yards wide
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1917 marathon 26 miles + 385 yards
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1918
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1919 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1920 # British
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1921 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1922
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1923 # The length measure in the UK was defined by a bronze bar manufactured in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1924 # 1844. Various conversions were sanctioned for convenience at different
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1925 # times, which makes conversions before 1963 a confusing matter. Apparently
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1926 # previous conversions were never explicitly revoked. Four different
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1927 # conversion factors appear below. Multiply them times an imperial length
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1928 # units as desired. The Weights and Measures Act of 1963 switched the UK away
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1929 # from their bronze standard and onto a definition of the yard in terms of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1930 # meter. This happened after an international agreement in 1959 to align the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1931 # world's measurement systems.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1932
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1933 UK UKlength_SJJ
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1934 UK- UK
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1935 british- UK
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1936
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1937 UKlength_B 0.9143992 meter / yard # Benoit found the yard to be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1938 # 0.9143992 m at a weights and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1939 # measures conference around
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1940 # 1896. Legally sanctioned
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1941 # in 1898.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1942 UKlength_SJJ 0.91439841 meter / yard # In 1922, Seers, Jolly and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1943 # Johnson found the yard to be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1944 # 0.91439841 meters.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1945 # Used starting in the 1930's.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1946 UKlength_K meter / 39.37079 inch # In 1816 Kater found this ratio
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1947 # for the meter and inch. This
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1948 # value was used as the legal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1949 # conversion ratio when the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1950 # metric system was legalized
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1951 # for contract in 1864.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1952 UKlength_C meter / 1.09362311 yard # In 1866 Clarke found the meter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1953 # to be 1.09362311 yards. This
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1954 # conversion was legalized
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1955 # around 1878.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1956 brnauticalmile 6080 ft # Used until 1970 when the UK
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1957 brknot brnauticalmile / hr # switched to the international
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1958 brcable 1|10 brnauticalmile # nautical mile.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1959 admiraltymile brnauticalmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1960 admiraltyknot brknot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1961 admiraltycable brcable
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1962 seamile 6000 ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1963 shackle 15 fathoms # Adopted 1949 by British navy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1964
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1965 # British Imperial weight is mostly the same as US weight. A few extra
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1966 # units are added here.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1967
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1968 clove 7 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1969 stone 14 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1970 tod 28 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1971 brquarterweight 1|4 brhundredweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1972 brhundredweight 8 stone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1973 longhundredweight brhundredweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1974 longton 20 brhundredweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1975 brton longton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1976
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1977 # British Imperial volume measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1978
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1979 brminim 1|60 brdram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1980 brscruple 1|3 brdram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1981 fluidscruple brscruple
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1982 brdram 1|8 brfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1983 brfluidounce 1|20 brpint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1984 brfloz brfluidounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1985 brgill 1|4 brpint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1986 brpint 1|2 brquart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1987 brquart 1|4 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1988 brgallon 4.54609 l # The British Imperial gallon was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1989 # defined in 1824 to be the volume of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1990 # water which weighed 10 pounds at 62
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1991 # deg F with a pressure of 30 inHg.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1992 # It was also defined as 277.274 in^3,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1993 # Which is slightly in error. In
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1994 # 1963 it was defined to be the volume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1995 # occupied by 10 pounds of distilled
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1996 # water of density 0.998859 g/ml weighed
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1997 # in air of density 0.001217 g/ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1998 # against weights of density 8.136 g/ml.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1999 # This gives a value of approximately
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2000 # 4.5459645 liters, but the old liter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2001 # was in force at this time. In 1976
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2002 # the definition was changed to exactly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2003 # 4.54609 liters using the new
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2004 # definition of the liter (1 dm^3).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2005 brbarrel 36 brgallon # Used for beer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2006 brbushel 8 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2007 brheapedbushel 1.278 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2008 brquarter 8 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2009 brchaldron 36 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2010
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2011 # Obscure British volume measures. These units are generally traditional
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2012 # measures whose definitions have fluctuated over the years. Often they
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2013 # depended on the quantity being measured. They are given here in terms of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2014 # British Imperial measures. For example, the puncheon may have historically
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2015 # been defined relative to the wine gallon or beer gallon or ale gallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2016 # rather than the British Imperial gallon.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2017
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2018 bag 4 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2019 bucket 4 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2020 kilderkin 2 brfirkin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2021 last 40 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2022 noggin brgill
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2023 pottle 0.5 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2024 pin 4.5 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2025 puncheon 72 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2026 seam 8 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2027 coomb 4 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2028 boll 6 brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2029 firlot 1|4 boll
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2030 brfirkin 9 brgallon # Used for ale and beer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2031 cran 37.5 brgallon # measures herring, about 750 fish
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2032 brwinehogshead 52.5 brgallon # This value is approximately equal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2033 brhogshead brwinehogshead # to the old wine hogshead of 63
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2034 # wine gallons. This adjustment
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2035 # is listed in the OED and in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2036 # "The Weights and Measures of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2037 # England" by R. D. Connor
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2038 brbeerhogshead 54 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2039 brbeerbutt 2 brbeerhogshead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2040 registerton 100 ft^3 # Used for internal capacity of ships
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2041 shippington 40 ft^3 # Used for ship's cargo freight or timber
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2042 brshippington 42 ft^3 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2043 freightton shippington # Both register ton and shipping ton derive
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2044 # from the "tun cask" of wine.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2045 displacementton 35 ft^3 # Approximate volume of a longton weight of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2046 # sea water. Measures water displaced by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2047 # ships.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2048 waterton 224 brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2049 strike 70.5 l # 16th century unit, sometimes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2050 # defined as .5, 2, or 4 bushels
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2051 # depending on the location. It
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2052 # probably doesn't make a lot of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2053 # sense to define in terms of imperial
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2054 # bushels. Zupko gives a value of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2055 # 2 Winchester grain bushels or about
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2056 # 70.5 liters.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2057 amber 4 brbushel# Used for dry and liquid capacity [18]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2058
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2059 # obscure British lengths
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2060
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2061 barleycorn 1|3 UKinch # Given in Realm of Measure as the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2062 # difference between successive shoe sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2063 nail 1|16 UKyard # Originally the width of the thumbnail,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2064 # or 1|16 ft. This took on the general
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2065 # meaning of 1|16 and settled on the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2066 # nail of a yard or 1|16 yards as its
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2067 # final value. [12]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2068 pole 16.5 UKft # This was 15 Saxon feet, the Saxon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2069 rope 20 UKft # foot (aka northern foot) being longer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2070 englishell 45 UKinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2071 flemishell 27 UKinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2072 ell englishell # supposed to be measure from elbow to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2073 # fingertips
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2074 span 9 UKinch # supposed to be distance from thumb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2075 # to pinky with full hand extension
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2076 goad 4.5 UKft # used for cloth, possibly named after the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2077 # stick used for prodding animals.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2078
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2079 # misc obscure British units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2080
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2081 rood 1|4 acre
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2082 englishcarat troyounce/151.5 # Originally intended to be 4 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2083 # but this value ended up being
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2084 # used in the London diamond market
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2085 mancus 2 oz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2086 mast 2.5 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2087 nailkeg 100 lbs
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2088 basebox 31360 in^2 # Used in metal plating
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2089
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2090 # alternate spellings
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2091
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2092 metre meter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2093 gramme gram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2094 litre liter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2095 dioptre diopter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2096 aluminium aluminum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2097 sulphur sulfur
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2098
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2099 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2100 # Units derived the human body (may not be very accurate)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2101 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2102
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2103 geometricpace 5 ft # distance between points where the same
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2104 # foot hits the ground
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2105 pace 2.5 ft # distance between points where alternate
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2106 # feet touch the ground
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2107 USmilitarypace 30 in # United States official military pace
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2108 USdoubletimepace 36 in # United States official doubletime pace
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2109 fingerbreadth 7|8 in # The finger is defined as either the width
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2110 fingerlength 4.5 in # or length of the finger
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2111 finger fingerbreadth
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2112 palmwidth hand # The palm is a unit defined as either the width
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2113 palmlength 8 in # or the length of the hand
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2114 hand 4 inch # width of hand
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2115 shaftment 6 inch # Distance from tip of outstretched thumb to the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2116 # opposite side of the palm of the hand. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2117 # ending -ment is from the old English word
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2118 # for hand. [18]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2119 smoot 5 ft + 7 in # Created as part of an MIT fraternity prank.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2120 # In 1958 Oliver Smoot was used to measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2121 # the length of the Harvard Bridge, which was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2122 # marked off in smooth lengths. These
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2123 # markings have been maintained on the bridge
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2124 # since then and repainted by subsequent
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2125 # incoming fraternity members. During a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2126 # bridge rennovation the new sidewalk was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2127 # scored every smooth rather than at the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2128 # customary 6 ft spacing.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2129 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2130 # Cooking measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2131 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2132
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2133 # Common abbreviations
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2134
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2135 tbl tablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2136 tbsp tablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2137 tblsp tablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2138 Tb tablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2139 tsp teaspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2140 saltspoon 1|4 tsp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2141
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2142 # US measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2143
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2144 uscup 8 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2145 ustablespoon 1|16 uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2146 usteaspoon 1|3 ustablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2147 ustbl ustablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2148 ustbsp ustablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2149 ustblsp ustablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2150 ustsp usteaspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2151 metriccup 250 ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2152 stickbutter 1|4 lb # Butter in the USA is sold in one
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2153 # pound packages that contain four
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2154 # individually wrapped pieces. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2155 # pieces are marked into tablespoons,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2156 # making it possible to measure out
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2157 # butter by volume by slicing the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2158 # butter.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2159
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2160 # US can sizes.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2161
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2162 number1can 10 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2163 number2can 19 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2164 number2.5can 3.5 uscups
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2165 number3can 4 uscups
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2166 number5can 7 uscups
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2167 number10can 105 usfloz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2168
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2169 # British measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2170
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2171 brcup 1|2 brpint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2172 brteacup 1|3 brpint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2173 brtablespoon 15 ml # Also 5|8 brfloz, approx 17.7 ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2174 brteaspoon 1|3 brtablespoon # Also 1|4 brtablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2175 brdessertspoon 2 brteaspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2176 dessertspoon brdessertspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2177 dsp dessertspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2178 brtsp brteaspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2179 brtbl brtablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2180 brtbsp brtablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2181 brtblsp brtablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2182
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2183 # Australian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2184
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2185 australiatablespoon 20 ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2186 austbl australiatablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2187 austbsp australiatablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2188 austblsp australiatablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2189 australiateaspoon 1|4 australiatablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2190 austsp australiateaspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2191
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2192 # Chinese
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2193
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2194 catty 0.5 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2195 oldcatty 4|3 lbs # Before metric conversion.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2196 tael 1|16 oldcatty # Should the tael be defined both ways?
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2197 mace 0.1 tael
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2198 oldpicul 100 oldcatty
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2199 picul 100 catty # Chinese usage
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2200
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2201 # Indian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2202
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2203 seer 14400 grain # British Colonial standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2204 ser seer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2205 maund 40 seer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2206 pakistanseer 1 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2207 pakistanmaund 40 pakistanseer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2208 chittak 1|16 seer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2209 tola 1|5 chittak
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2210 ollock 1|4 liter # Is this right?
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2211
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2212 # Japanese
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2213
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2214 japancup 200 ml
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2215
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2216 # densities of cooking ingredients from The Cake Bible by Rose Levy Beranbaum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2217 # so you can convert '2 cups sugar' to grams, for example, or in the other
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2218 # direction grams could be converted to 'cup flour_scooped'.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2219
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2220 butter 8 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2221 butter_clarified 6.8 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2222 cocoa_butter 9 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2223 shortening 6.75 oz/uscup # vegetable shortening
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2224 oil 7.5 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2225 cakeflour_sifted 3.5 oz/uscup # The density of flour depends on the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2226 cakeflour_spooned 4 oz/uscup # measuring method. "Scooped", or
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2227 cakeflour_scooped 4.5 oz/uscup # "dip and sweep" refers to dipping a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2228 flour_sifted 4 oz/uscup # measure into a bin, and then sweeping
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2229 flour_spooned 4.25 oz/uscup # the excess off the top. "Spooned"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2230 flour_scooped 5 oz/uscup # means to lightly spoon into a measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2231 breadflour_sifted 4.25 oz/uscup # and then sweep the top. Sifted means
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2232 breadflour_spooned 4.5 oz/uscup # sifting the flour directly into a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2233 breadflour_scooped 5.5 oz/uscup # measure and then sweeping the top.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2234 cornstarch 120 grams/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2235 dutchcocoa_sifted 75 g/uscup # These are for Dutch processed cocoa
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2236 dutchcocoa_spooned 92 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2237 dutchcocoa_scooped 95 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2238 cocoa_sifted 75 g/uscup # These are for nonalkalized cocoa
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2239 cocoa_spooned 82 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2240 cocoa_scooped 95 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2241 heavycream 232 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2242 milk 242 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2243 sourcream 242 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2244 molasses 11.25 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2245 cornsyrup 11.5 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2246 honey 11.75 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2247 sugar 200 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2248 powdered_sugar 4 oz/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2249 brownsugar_light 217 g/uscup # packed
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2250 brownsugar_dark 239 g/uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2251
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2252 baking_powder 4.6 grams / ustsp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2253 salt 6 g / ustsp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2254 koshersalt 2.8 g / ustsp # Diamond Crystal kosher salt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2255 koshersalt_morton 4.8 g / ustsp # Morton kosher salt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2256 # Values are from the nutrition info
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2257 # on the packages
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2258
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2259
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2260 # Egg weights and volumes for a USA large egg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2261
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2262 egg 50 grams # without shell
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2263 eggwhite 30 grams
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2264 eggyolk 18.6 grams
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2265 eggvolume 3 ustablespoons + 1|2 ustsp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2266 eggwhitevolume 2 ustablespoons
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2267 eggyolkvolume 3.5 ustsp
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2268
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2269 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2270 # Density measures. Density has traditionally been measured on a variety of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2271 # bizarre nonlinear scales.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2272 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2273
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2274 # Density of a sugar syrup is frequently measured in candy making procedures.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2275 # In the USA the boiling point of the syrup is measured. Some recipes instead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2276 # specify the density using degrees Baume. Conversion between degrees Baume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2277 # and the boiling point measure has proved elusive. One food science text
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2278 # claimed that the boiling point elevation formula could be used. This formula
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2279 # gives the elevation 1000 (.512) x / (100-x) 342.3 for sucrose. However,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2280 # it disagrees significantly with a table that appeared in another text
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2281 # which gave the table below. However, this table cannot be converted reliably
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2282 # to a density measure because the brix table stops at 80% concentration.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2283 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2284 # temp(C) conc (%)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2285 # 100 30
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2286 # 101 40
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2287 # 102 50
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2288 # 103 60
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2289 # 106 70
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2290 # 112 80
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2291 # 123 90
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2292 # 140 95
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2293 # 151 97
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2294 # 160 98.2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2295 # 166 99.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2296 # 171 99.6
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2297 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2298
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2299 # Degrees Baume is used in European recipes to specify the density of a sugar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2300 # syrup. An entirely different definition is used for densities below
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2301 # 1 g/cm^3. An arbitrary constant appears in the definition. This value is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2302 # equal to 145 in the US, but was according to [], the old scale used in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2303 # Holland had a value of 144, and the new scale or Gerlach scale used 146.78.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2304
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2305 baumeconst 144 # US value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2306 baume(d) [1;g/cm^3] (baumeconst/(baumeconst+-d)) g/cm^3 ; \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2307 (baume+((-g)/cm^3)) baumeconst / baume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2308
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2309 twaddell(x) [1;g/cm^3] (1 + 0.005 x) g / cm^3 ; 200 (twaddell / (g/cm^3) +- 1)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2310
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2311 # The degree quevenne is a unit for measuring the density of milk.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2312 quevenne(x) [1;g/cm^3] (1 + 0.001 x) g / cm^3 ; 1000 (quevenne / (g/cm^3) +- 1)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2313
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2314 # Degrees brix measures sugar concentration by weigh as a percentage, so a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2315 # solution that is 3 degrees brix is 3% sugar by weight. This unit was named
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2316 # after Adolf Brix who invented a hydrometer that read this percentage
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2317 # directly. This table converts brix to density at 20 degrees Celsius.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2318
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2319 brix[g/cm^3] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2320 0.0 0.9982, 0.5 1.0002, 1.0 1.0021 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2321 1.5 1.0040, 2.0 1.0060, 2.5 1.0079 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2322 3.0 1.0099, 3.5 1.0119, 4.0 1.0139 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2323 5.0 1.0178, 5.5 1.0198, 6.0 1.0218 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2324 6.5 1.0238, 7.0 1.0259, 7.5 1.0279 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2325 8.0 1.0299, 8.5 1.0320, 9.0 1.0340 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2326 9.5 1.0361, 10.0 1.0381, 11.0 1.0423 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2327 12.0 1.0465, 13.0 1.0507, 14.0 1.0549 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2328 15.0 1.0592, 16.0 1.0635, 17.0 1.0678 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2329 18.0 1.0722, 19.0 1.0766, 20.0 1.0810 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2330 22.0 1.0899, 24.0 1.0990, 26.0 1.1082 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2331 28.0 1.1175, 30.0 1.1270, 32.0 1.1366 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2332 34.0 1.1464, 36.0 1.1562, 38.0 1.1663 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2333 40.0 1.1765, 42.0 1.1868, 44.0 1.1972 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2334 46.0 1.2079, 48.0 1.2186, 50.0 1.2295 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2335 52.0 1.2406, 54.0 1.2518, 56.0 1.2632 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2336 58.0 1.2747, 60.0 1.2864, 62.0 1.2983 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2337 64.0 1.3103, 66.0 1.3224, 68.0 1.3348 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2338 70.0 1.3472, 72.0 1.3599, 74.0 1.3726 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2339 76.0 1.3855, 78.0 1.3986, 80.0 1.4117 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2340 82.0 1.4250, 84.0 1.4383
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2341
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2342 # Density measure invented by the American Petroleum Institute. Lighter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2343 # petroleum products are more valuable, and they get a higher API degree.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2344
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2345 apidegree(x) [1;g/cm^3] 141.5 g/cm^3 / (x+131.5) ; \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2346 141.5 (g/cm^3) / apidegree + (-131.5)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2347
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2348 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2349 # Units derived from imperial system
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2350 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2351
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2352 ouncedal oz ft / s^2 # force which accelerates an ounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2353 # at 1 ft/s^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2354 poundal lb ft / s^2 # same thing for a pound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2355 tondal ton ft / s^2 # and for a ton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2356 pdl poundal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2357 osi ounce force / inch^2 # used in aviation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2358 psi pound force / inch^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2359 psia psi # absolute pressure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2360 tsi ton force / inch^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2361 reyn psi sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2362 slug lbf s^2 / ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2363 slugf slug force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2364 slinch lbf s^2 / inch # Mass unit derived from inch second
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2365 slinchf slinch force # pound-force system. Used in space
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2366 # applications where in/sec^2 was a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2367 # natural acceleration measure.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2368 geepound slug
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2369 lbf lb force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2370 tonf ton force
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2371 lbm lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2372 kip 1000 lbf # from kilopound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2373 ksi kip / in^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2374 mil 0.001 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2375 thou 0.001 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2376 circularinch 1|4 pi in^2 # area of a one-inch diameter circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2377 circleinch circularinch # A circle with diameter d inches has
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2378 # an area of d^2 circularinches
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2379 cylinderinch circleinch inch # Cylinder h inch tall, d inches diameter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2380 # has volume d^2 h cylinder inches
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2381 circularmil 1|4 pi mil^2 # area of one-mil diameter circle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2382 cmil circularmil
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2383
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2384 cental 100 pound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2385 centner cental
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2386 caliber 0.01 inch # for measuring bullets
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2387 duty ft lbf
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2388 celo ft / s^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2389 jerk ft / s^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2390 australiapoint 0.01 inch # The "point" is used to measure rainfall
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2391 # in Australia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2392 sabin ft^2 # Measure of sound absorption equal to the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2393 # absorbing power of one square foot of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2394 # a perfectly absorbing material. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2395 # sound absorptivity of an object is the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2396 # area times a dimensionless
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2397 # absorptivity coefficient.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2398 standardgauge 4 ft + 8.5 in # Standard width between railroad track
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2399 flag 5 ft^2 # Construction term referring to sidewalk.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2400 rollwallpaper 30 ft^2 # Area of roll of wall paper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2401 fillpower in^3 / ounce # Density of down at standard pressure.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2402 # The best down has 750-800 fillpower.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2403 pinlength 1|16 inch # A #17 pin is 17/16 in long in the USA.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2404 buttonline 1|40 inch # The line was used in 19th century USA
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2405 # to measure width of buttons.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2406 scoopnumber /quart # Ice cream scoops are labeled with a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2407 # number specifying how many scoops
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2408 # fill a quart.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2409 beespace 1|4 inch # Bees will fill any space that is smaller
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2410 # than the bee space and leave open
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2411 # spaces that are larger. The size of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2412 # the space varies with species.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2413 diamond 8|5 ft # Marking on US tape measures that is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2414 # useful to carpenters who wish to place
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2415 # five studs in an 8 ft distance. Note
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2416 # that the numbers appear in red every
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2417 # 16 inches as well, giving six
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2418 # divisions in 8 feet.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2419 retmaunit 1.75 in # Height of rack mountable equipment.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2420 U retmaunit # Equipment should be 1|32 inch narrower
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2421 RU U # than its U measurement indicates to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2422 # allow for clearance, so 4U=(6+31|32)in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2423 # RETMA stands for the former name of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2424 # the standardizing organization, Radio
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2425 # Electronics Television Manufacturers
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2426 # Association. This organization is now
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2427 # called the Electronic Industries
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2428 # Alliance (EIA) and the rack standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2429 # is specified in EIA RS-310-D.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2430
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2431 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2432 # Other units of work, energy, power, etc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2433 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2434
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2435 ENERGY joule
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2436 WORK joule
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2437
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2438 # Calories: energy to raise a gram of water one degree celsius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2439
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2440 cal_IT 4.1868 J # International Table calorie
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2441 cal_th 4.184 J # Thermochemical calorie
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2442 cal_fifteen 4.18580 J # Energy to go from 14.5 to 15.5 degC
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2443 cal_twenty 4.18190 J # Energy to go from 19.5 to 20.5 degC
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2444 cal_mean 4.19002 J # 1|100 energy to go from 0 to 100 degC
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2445 calorie cal_IT
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2446 cal calorie
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2447 calorie_IT cal_IT
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2448 thermcalorie cal_th
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2449 calorie_th thermcalorie
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2450 Calorie kilocalorie # the food Calorie
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2451 thermie 1e6 cal_fifteen # Heat required to raise the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2452 # temperature of a tonne of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2453 # water from 14.5 to 15.5 degC.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2454
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2455 # btu definitions: energy to raise a pound of water 1 degF
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2456
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2457 btu cal lb degF / gram K # international table BTU
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2458 britishthermalunit btu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2459 btu_IT btu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2460 btu_th cal_th lb degF / gram K
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2461 btu_mean cal_mean lb degF / gram K
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2462 quad quadrillion btu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2463
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2464 ECtherm 1.05506e8 J # Exact definition, close to 1e5 btu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2465 UStherm 1.054804e8 J # Exact definition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2466 therm UStherm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2467
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2468 # Energy densities of various fuels
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2469 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2470 # Most of these fuels have varying compositions or qualities and hence their
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2471 # actual energy densities vary. These numbers are hence only approximate.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2472 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2473 # E1. http://bioenergy.ornl.gov/papers/misc/energy_conv.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2474 # E2. http://www.aps.org/policy/reports/popa-reports/energy/units.cfm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2475 # E3. http://www.ior.com.au/ecflist.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2476
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2477 tonoil 1e10 cal_IT # Ton oil equivalent. A conventional
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2478 # value for the energy released by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2479 toe tonoil # burning one metric ton of oil. [18,E2]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2480 # Note that energy per mass of petroleum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2481 # products is fairly constant.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2482 # Variations in volumetric energy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2483 # density result from variations in the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2484 # density (kg/m^3) of different fuels.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2485 # This definition is given by the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2486 # IEA/OECD.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2487 toncoal 7e9 cal_IT # Energy in metric ton coal from [18].
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2488 # This is a nominal value which
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2489 # is close to the heat content
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2490 # of coal used in the 1950's
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2491 barreloil 5.8 Mbtu # Conventional value for barrel of crude
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2492 # oil [E2]. Actual range is 5.6 - 6.3.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2493 naturalgas_HHV 1027 btu/ft3 # Energy content of natural gas. HHV
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2494 naturalgas_LHV 930 btu/ft3 # is for Higher Heating Value and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2495 naturalgas naturalgas_HHV # includes energy from condensation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2496 # combustion products. LHV is for Lower
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2497 # Heating Value and excludes these.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2498 # American publications typically report
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2499 # HHV whereas European ones report LHV.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2500 charcoal 30 GJ/tonne
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2501 woodenergy_dry 20 GJ/tonne # HHV, a cord weights about a tonne
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2502 woodenergy_airdry 15 GJ/tonne # 20% moisture content
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2503 coal_bituminous 27 GJ / tonne
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2504 coal_lignite 15 GJ / tonne
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2505 coal_US 22 GJ / ton # Average for US coal (short ton), 1995
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2506 ethanol_HHV 84000 btu/usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2507 ethanol_LHV 75700 btu/usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2508 diesel 130500 btu/usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2509 gasoline_LHV 115000 btu/usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2510 gasoline_HHV 125000 btu/usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2511 gasoline gasoline_HHV
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2512 heating 37.3 MJ/liter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2513 fueloil 39.7 MJ/liter # low sulphur
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2514 propane 93.3 MJ/m^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2515 butane 124 MJ/m^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2516
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2517 # These values give total energy from uranium fission. Actual efficiency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2518 # of nuclear power plants is around 30%-40%. Note also that some reactors
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2519 # use enriched uranium around 3% U-235. Uranium during processing or use
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2520 # may be in a compound of uranium oxide or uranium hexafluoride, in which
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2521 # case the energy density would be lower depending on how much uranium is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2522 # in the compound.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2523
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2524 uranium_pure 200 MeV avogadro / (235.0439299 g/mol) # Pure U-235
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2525 uranium_natural 0.7% uranium_pure # Natural uranium: 0.7% U-235
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2526
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2527 # Celsius heat unit: energy to raise a pound of water 1 degC
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2528
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2529 celsiusheatunit cal lb degC / gram K
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2530 chu celsiusheatunit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2531
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2532 POWER watt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2533
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2534 # The horsepower is supposedly the power of one horse pulling. Obviously
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2535 # different people had different horses.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2536
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2537 ushorsepower 550 foot pound force / sec # Invented by James Watt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2538 hp horsepower
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2539 metrichorsepower 75 kilogram force meter / sec # PS=Pferdestaerke in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2540 electrichorsepower 746 W # Germany
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2541 boilerhorsepower 9809.50 W
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2542 waterhorsepower 746.043 W
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2543 brhorsepower 745.70 W
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2544 donkeypower 250 W
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2545 chevalvapeur metrichorsepower
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2546
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2547 # Thermal insulance: Thermal conductivity has dimension power per area per
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2548 # (temperature difference per length thickness) which comes out to W / K m. If
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2549 # the thickness is fixed, then the conductance will have units of W / K m^2.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2550 # Thermal insulance is the reciprocal.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2551
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2552 THERMAL_CONDUCTANCE POWER/AREA (TEMPERATURE_DIFFERENCE/LENGTH)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2553 THERMAL_INSULANCE 1/THERMAL_CONDUCTANCE
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2554 THERMAL_CONDUCTIVITY THERMAL_CONDUCTANCE / LENGTH
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2555 THERMAL_INSULATION THERMAL_INSULANCE LENGTH
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2556 Rvalue degF ft^2 hr / btu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2557 Uvalue 1/Rvalue
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2558 europeanUvalue watt / m^2 K
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2559 RSI degC m^2 / W
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2560 clo 0.155 degC m^2 / W # Supposed to be the insulance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2561 # required to keep a resting person
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2562 # comfortable indoors. The value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2563 # given is from NIST and the CRC,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2564 # but [5] gives a slightly different
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2565 # value of 0.875 ft^2 degF hr / btu.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2566 tog 0.1 degC m^2 / W # Also used for clothing.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2567
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2568
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2569 # The bel was defined by engineers of Bell Laboratories to describe the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2570 # reduction in audio level over a length of one mile. It was originally
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2571 # called the transmission unit (TU) but was renamed around 1923 to honor
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2572 # Alexander Graham Bell. The bel proved inconveniently large so the decibel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2573 # has become more common. The decibel is dimensionless since it reports a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2574 # ratio, but it is used in various contexts to report a signal's power
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2575 # relative to some reference level.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2576
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2577 bel(x) [1;1] 10^(x); log(bel) # Basic bel definition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2578 decibel(x) [1;1] 10^(x/10); 10 log(decibel) # Basic decibel definition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2579 dB(x) [1;1] 10^(x/10); 10 log(dB) # Abbreviation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2580 dBW(x) [1;W] dB(x) W ; ~dB(dBW/W) # Reference = 1 W
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2581 dBk(x) [1;W] dB(x) kW ; ~dB(dBk/kW) # Reference = 1 kW
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2582 dBf(x) [1;W] dB(x) fW ; ~dB(dBf/fW) # Reference = 1 fW
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2583 dBm(x) [1;W] dB(x) mW ; ~dB(dBm/mW) # Reference = 1 mW
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2584 dBmW(x) [1;W] dBm(x) ; ~dBm(dBmW) # Reference = 1 mW
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2585
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2586 dBJ(x) [1;J] dB(x) J; ~dB(dBJ/J) # Energy relative to 1 joule
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2587 # Used for power spectral density
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2588 # since W/Hz = J
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2589
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2590 # When used to measure amplitude, voltage, or current the signal is squared
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2591 # because power is proportional to the square of these measures. The root
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2592 # mean square (RMS) voltage is typically used with these units.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2593
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2594 dBV(x) [1;V] dB(0.5 x) V ; ~dB(dBV^2 / V^2) # Reference = 1 V
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2595 dBmV(x) [1;V] dB(0.5 x) mV ; ~dB(dBmV^2 / mV^2) # Reference = 1 mV
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2596 dBuV(x) [1;V] dB(0.5 x) microV ; ~dB(dBuV^2 / microV^2) # Ref = 1 microvolt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2597
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2598 # Referenced to the voltage that causes 1 mW dissipation in a 600 ohm load.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2599 # Originally defined as dBv but changed to prevent confusion with dBV.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2600 # The "u" is for unloaded.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2601 dBu(x) [1;V] dB(0.5 x) sqrt(mW 600 ohm) ; ~dB(dBu^2 / mW 600 ohm)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2602 dBv(x) [1;V] dBu(x) ; ~dBu(dBv) # Synonym for dBu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2603
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2604
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2605 # Measurements for sound in air, referenced to the threshold of human hearing
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2606 # Note that sound in other media typically uses 1 micropascal as a reference
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2607 # for sound pressure. Units dBA, dBB, dBC, refer to different frequency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2608 # weightings meant to approximate the human ear's response.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2609
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2610 dBSPL(x) [1;Pa] dB(0.5 x) 20 microPa ; ~dB(dBSPL^2 / (20 microPa)^2) # pressure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2611 dBSIL(x) [1;W/m^2] dB(x) 1e-12 W/m^2; ~dB(dBSIL / (1e-12 W/m^2)) # intensity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2612 dBSWL(x) [1;W] dB(x) 1e-12 W; ~dB(dBSWL/1e-12 W)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2613
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2614
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2615
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2616 # Misc other measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2617
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2618 ENTROPY ENERGY / TEMPERATURE
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2619 clausius 1e3 cal/K # A unit of physical entropy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2620 langley thermcalorie/cm^2 # Used in radiation theory
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2621 poncelet 100 kg force m / s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2622 tonrefrigeration ton 144 btu / lb day # One ton refrigeration is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2623 # the rate of heat extraction required
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2624 # turn one ton of water to ice in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2625 # a day. Ice is defined to have a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2626 # latent heat of 144 btu/lb.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2627 tonref tonrefrigeration
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2628 refrigeration tonref / ton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2629 frigorie 1000 cal_fifteen# Used in refrigeration engineering.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2630 tnt 1e9 cal_th / ton# So you can write tons-tnt. This
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2631 # is a defined, not measured, value.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2632 airwatt 8.5 (ft^3/min) inH2O # Measure of vacuum power as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2633 # pressure times air flow.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2634
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2635 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2636 # Permeability: The permeability or permeance, n, of a substance determines
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2637 # how fast vapor flows through the substance. The formula W = n A dP
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2638 # holds where W is the rate of flow (in mass/time), n is the permeability,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2639 # A is the area of the flow path, and dP is the vapor pressure difference.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2640 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2641
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2642 perm_0C grain / hr ft^2 inHg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2643 perm_zero perm_0C
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2644 perm_0 perm_0C
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2645 perm perm_0C
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2646 perm_23C grain / hr ft^2 in Hg23C
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2647 perm_twentythree perm_23C
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2648
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2649 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2650 # Counting measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2651 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2652
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2653 pair 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2654 brace 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2655 nest 3 # often used for items like bowls that
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2656 # nest together
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2657 hattrick 3 # Used in sports, especially cricket and ice
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2658 # hockey to report the number of goals.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2659 dicker 10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2660 dozen 12
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2661 bakersdozen 13
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2662 score 20
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2663 flock 40
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2664 timer 40
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2665 shock 60
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2666 toncount 100 # Used in sports in the UK
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2667 longhundred 120 # From a germanic counting system
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2668 gross 144
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2669 greatgross 12 gross
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2670 tithe 1|10 # From Anglo-Saxon word for tenth
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2671
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2672 # Paper counting measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2673
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2674 shortquire 24
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2675 quire 25
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2676 shortream 480
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2677 ream 500
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2678 perfectream 516
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2679 bundle 2 reams
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2680 bale 5 bundles
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2681
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2682 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2683 # Paper measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2684 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2685
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2686 # USA paper sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2687
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2688 lettersize 8.5 inch 11 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2689 legalsize 8.5 inch 14 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2690 ledgersize 11 inch 17 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2691 executivesize 7.25 inch 10.5 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2692 Apaper 8.5 inch 11 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2693 Bpaper 11 inch 17 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2694 Cpaper 17 inch 22 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2695 Dpaper 22 inch 34 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2696 Epaper 34 inch 44 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2697
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2698 pointthickness mil
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2699
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2700 # The metric paper sizes are defined so that if a sheet is cut in half
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2701 # along the short direction, the result is two sheets which are
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2702 # similar to the original sheet. This means that for any metric size,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2703 # the long side is close to sqrt(2) times the length of the short
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2704 # side. Each series of sizes is generated by repeated cuts in half,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2705 # with the values rounded down to the nearest millimeter.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2706
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2707 A0paper 841 mm 1189 mm # The basic size in the A series
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2708 A1paper 594 mm 841 mm # is defined to have an area of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2709 A2paper 420 mm 594 mm # one square meter.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2710 A3paper 297 mm 420 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2711 A4paper 210 mm 297 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2712 A5paper 148 mm 210 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2713 A6paper 105 mm 148 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2714 A7paper 74 mm 105 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2715 A8paper 52 mm 74 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2716 A9paper 37 mm 52 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2717 A10paper 26 mm 37 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2718
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2719 B0paper 1000 mm 1414 mm # The basic B size has an area
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2720 B1paper 707 mm 1000 mm # of sqrt(2) square meters.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2721 B2paper 500 mm 707 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2722 B3paper 353 mm 500 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2723 B4paper 250 mm 353 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2724 B5paper 176 mm 250 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2725 B6paper 125 mm 176 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2726 B7paper 88 mm 125 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2727 B8paper 62 mm 88 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2728 B9paper 44 mm 62 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2729 B10paper 31 mm 44 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2730
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2731 C0paper 917 mm 1297 mm # The basic C size has an area
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2732 C1paper 648 mm 917 mm # of sqrt(sqrt(2)) square meters.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2733 C2paper 458 mm 648 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2734 C3paper 324 mm 458 mm # Intended for envelope sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2735 C4paper 229 mm 324 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2736 C5paper 162 mm 229 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2737 C6paper 114 mm 162 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2738 C7paper 81 mm 114 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2739 C8paper 57 mm 81 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2740 C9paper 40 mm 57 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2741 C10paper 28 mm 40 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2742
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2743 # gsm (Grams per Square Meter), a sane, metric paper weight measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2744
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2745 gsm grams / meter^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2746
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2747 # In the USA, a collection of crazy historical paper measures are used. Paper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2748 # is measured as a weight of a ream of that particular type of paper. This is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2749 # sometimes called the "substance" or "basis" (as in "substance 20" paper).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2750 # The standard sheet size or "basis size" varies depending on the type of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2751 # paper. As a result, 20 pound bond paper and 50 pound text paper are actually
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2752 # about the same weight. The different sheet sizes were historically the most
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2753 # convenient for printing or folding in the different applications. These
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2754 # different basis weights are standards maintained by American Society for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2755 # Testing Materials (ASTM) and the American Forest and Paper Association
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2756 # (AF&PA).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2757
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2758 poundbookpaper lb / 25 inch 38 inch ream
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2759 lbbook poundbookpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2760 poundtextpaper poundbookpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2761 lbtext poundtextpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2762 poundoffsetpaper poundbookpaper # For offset printing
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2763 lboffset poundoffsetpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2764 poundbiblepaper poundbookpaper # Designed to be lightweight, thin,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2765 lbbible poundbiblepaper # strong and opaque.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2766 poundtagpaper lb / 24 inch 36 inch ream
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2767 lbtag poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2768 poundbagpaper poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2769 lbbag poundbagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2770 poundnewsprintpaper poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2771 lbnewsprint poundnewsprintpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2772 poundposterpaper poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2773 lbposter poundposterpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2774 poundtissuepaper poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2775 lbtissue poundtissuepaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2776 poundwrappingpaper poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2777 lbwrapping poundwrappingpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2778 poundwaxingpaper poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2779 lbwaxing poundwaxingpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2780 poundglassinepaper poundtagpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2781 lbglassine poundglassinepaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2782 poundcoverpaper lb / 20 inch 26 inch ream
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2783 lbcover poundcoverpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2784 poundindexpaper lb / 25.5 inch 30.5 inch ream
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2785 lbindex poundindexpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2786 poundindexbristolpaper poundindexpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2787 lbindexbristol poundindexpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2788 poundbondpaper lb / 17 inch 22 inch ream # Bond paper is stiff and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2789 lbbond poundbondpaper # durable for repeated
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2790 poundwritingpaper poundbondpaper # filing, and it resists
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2791 lbwriting poundwritingpaper # ink penetration.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2792 poundledgerpaper poundbondpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2793 lbledger poundledgerpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2794 poundcopypaper poundbondpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2795 lbcopy poundcopypaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2796 poundblottingpaper lb / 19 inch 24 inch ream
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2797 lbblotting poundblottingpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2798 poundblankspaper lb / 22 inch 28 inch ream
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2799 lbblanks poundblankspaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2800 poundpostcardpaper lb / 22.5 inch 28.5 inch ream
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2801 lbpostcard poundpostcardpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2802 poundweddingbristol poundpostcardpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2803 lbweddingbristol poundweddingbristol
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2804 poundbristolpaper poundweddingbristol
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2805 lbbristol poundbristolpaper
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2806 poundboxboard lb / 1000 ft^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2807 lbboxboard poundboxboard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2808 poundpaperboard poundboxboard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2809 lbpaperboard poundpaperboard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2810
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2811 # When paper is marked in units of M, it means the weight of 1000 sheets of the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2812 # given size of paper. To convert this to paper weight, divide by the size of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2813 # the paper in question.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2814
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2815 paperM lb / 1000
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2816
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2817 # In addition paper weight is reported in "caliper" which is simply the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2818 # thickness of one sheet, typically in inches. Thickness is also reported in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2819 # "points" where a point is 1|1000 inch. These conversions are supplied to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2820 # convert these units roughly (using an approximate density) into the standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2821 # paper weight values.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2822
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2823 paperdensity 0.8 g/cm^3 # approximate--paper densities vary!
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2824 papercaliper in paperdensity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2825 paperpoint 0.001 in paperdensity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2826
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2827 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2828 # Printing
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2829 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2830
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2831 fournierpoint 0.1648 inch / 12 # First definition of the printers
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2832 # point made by Pierre Fournier who
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2833 # defined it in 1737 as 1|12 of a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2834 # cicero which was 0.1648 inches.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2835 olddidotpoint 1|72 frenchinch # François Ambroise Didot, one of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2836 # a family of printers, changed
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2837 # Fournier's definition around 1770
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2838 # to fit to the French units then in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2839 # use.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2840 bertholdpoint 1|2660 m # H. Berthold tried to create a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2841 # metric version of the didot point
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2842 # in 1878.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2843 INpoint 0.4 mm # This point was created by a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2844 # group directed by Fermin Didot in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2845 # 1881 and is associated with the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2846 # imprimerie nationale. It doesn't
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2847 # seem to have been used much.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2848 germandidotpoint 0.376065 mm # Exact definition appears in DIN
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2849 # 16507, a German standards document
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2850 # of 1954. Adopted more broadly in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2851 # 1966 by ???
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2852 metricpoint 3|8 mm # Proposed in 1977 by Eurograf
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2853 oldpoint 1|72.27 inch # The American point was invented
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2854 printerspoint oldpoint # by Nelson Hawks in 1879 and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2855 texpoint oldpoint # dominates USA publishing.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2856 # It was standardized by the American
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2857 # Typefounders Association at the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2858 # value of 0.013837 inches exactly.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2859 # Knuth uses the approximation given
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2860 # here (which is very close). The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2861 # comp.fonts FAQ claims that this
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2862 # value is supposed to be 1|12 of a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2863 # pica where 83 picas is equal to 35
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2864 # cm. But this value differs from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2865 # the standard.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2866 texscaledpoint 1|65536 texpoint # The TeX typesetting system uses
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2867 texsp texscaledpoint # this for all computations.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2868 computerpoint 1|72 inch # The American point was rounded
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2869 point computerpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2870 computerpica 12 computerpoint # to an even 1|72 inch by computer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2871 postscriptpoint computerpoint # people at some point.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2872 pspoint postscriptpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2873 twip 1|20 point # TWentieth of an Imperial Point
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2874 Q 1|4 mm # Used in Japanese phototypesetting
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2875 # Q is for quarter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2876 frenchprinterspoint olddidotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2877 didotpoint germandidotpoint # This seems to be the dominant value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2878 europeanpoint didotpoint # for the point used in Europe
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2879 cicero 12 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2880
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2881 stick 2 inches
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2882
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2883 # Type sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2884
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2885 excelsior 3 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2886 brilliant 3.5 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2887 diamondtype 4 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2888 pearl 5 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2889 agate 5.5 oldpoint # Originally agate type was 14 lines per
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2890 # inch, giving a value of 1|14 in.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2891 ruby agate # British
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2892 nonpareil 6 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2893 mignonette 6.5 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2894 emerald mignonette # British
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2895 minion 7 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2896 brevier 8 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2897 bourgeois 9 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2898 longprimer 10 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2899 smallpica 11 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2900 pica 12 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2901 english 14 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2902 columbian 16 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2903 greatprimer 18 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2904 paragon 20 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2905 meridian 44 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2906 canon 48 oldpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2907
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2908 # German type sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2909
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2910 nonplusultra 2 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2911 brillant 3 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2912 diamant 4 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2913 perl 5 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2914 nonpareille 6 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2915 kolonel 7 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2916 petit 8 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2917 borgis 9 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2918 korpus 10 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2919 corpus korpus
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2920 garamond korpus
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2921 mittel 14 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2922 tertia 16 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2923 text 18 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2924 kleine_kanon 32 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2925 kanon 36 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2926 grobe_kanon 42 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2927 missal 48 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2928 kleine_sabon 72 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2929 grobe_sabon 84 didotpoint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2930
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2931 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2932 # Information theory units. Note that the name "entropy" is used both
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2933 # to measure information and as a physical quantity.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2934 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2935
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2936 INFORMATION bit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2937
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2938 nat ln(2) bits # Entropy measured base e
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2939 hartley log2(10) bits # Entropy of a uniformly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2940 # distributed random variable
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2941 # over 10 symbols.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2942 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2943 # Computer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2944 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2945
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2946 bps bit/sec # Sometimes the term "baud" is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2947 # incorrectly used to refer to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2948 # bits per second. Baud refers
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2949 # to symbols per second. Modern
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2950 # modems transmit several bits
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2951 # per symbol.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2952 byte 8 bit # Not all machines had 8 bit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2953 B byte # bytes, but these days most of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2954 # them do. But beware: for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2955 # transmission over modems, a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2956 # few extra bits are used so
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2957 # there are actually 10 bits per
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2958 # byte.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2959 octet 8 bits # The octet is always 8 bits
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2960 nybble 4 bits # Half of a byte. Sometimes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2961 # equal to different lengths
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2962 # such as 3 bits.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2963 nibble nybble
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2964 nyp 2 bits # Donald Knuth asks in an exercise
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2965 # for a name for a 2 bit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2966 # quantity and gives the "nyp"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2967 # as a solution due to Gregor
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2968 # Purdy. Not in common use.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2969 meg megabyte # Some people consider these
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2970 # units along with the kilobyte
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2971 gig gigabyte # to be defined according to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2972 # powers of 2 with the kilobyte
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2973 # equal to 2^10 bytes, the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2974 # megabyte equal to 2^20 bytes and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2975 # the gigabyte equal to 2^30 bytes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2976 # but these usages are forbidden
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2977 # by SI. Binary prefixes have
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2978 # been defined by IEC to replace
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2979 # the SI prefixes. Use them to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2980 # get the binary values: KiB, MiB,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2981 # and GiB.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2982 jiffy 0.01 sec # This is defined in the Jargon File
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2983 jiffies jiffy # (http://www.jargon.org) as being the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2984 # duration of a clock tick for measuring
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2985 # wall-clock time. Supposedly the value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2986 # used to be 1|60 sec or 1|50 sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2987 # depending on the frequency of AC power,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2988 # but then 1|100 sec became more common.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2989 # On linux systems, this term is used and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2990 # for the Intel based chips, it does have
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2991 # the value of .01 sec. The Jargon File
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2992 # also lists two other definitions:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2993 # millisecond, and the time taken for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2994 # light to travel one foot.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2995 cdaudiospeed 44.1 kHz 2*16 bits # CD audio data rate at 44.1 kHz with 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2996 # samples of sixteen bits each.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2997 cdromspeed 75 2048 bytes / sec # For data CDs (mode1) 75 sectors are read
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2998 # each second with 2048 bytes per sector.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2999 # Audio CDs do not have sectors, but
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3000 # people sometimes divide the bit rate by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3001 # 75 and claim a sector length of 2352.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3002 # Data CDs have a lower rate due to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3003 # increased error correction overhead.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3004 # There is a rarely used mode (mode2) with
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3005 # 2336 bytes per sector that has fewer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3006 # error correction bits than mode1.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3007 dvdspeed 1385 kB/s # This is the "1x" speed of a DVD using
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3008 # constant linear velocity (CLV) mode.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3009 # Modern DVDs may vary the linear velocity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3010 # as they go from the inside to the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3011 # outside of the disc.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3012 # See http://www.osta.org/technology/dvdqa/dvdqa4.htm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3013
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3014
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3015 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3016 # Musical measures. Musical intervals expressed as ratios. Multiply
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3017 # two intervals together to get the sum of the interval. The function
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3018 # musicalcent can be used to convert ratios to cents.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3019 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3020
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3021 # Perfect intervals
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3022
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3023 octave 2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3024 majorsecond musicalfifth^2 / octave
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3025 majorthird 5|4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3026 minorthird 6|5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3027 musicalfourth 4|3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3028 musicalfifth 3|2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3029 majorsixth musicalfourth majorthird
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3030 minorsixth musicalfourth minorthird
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3031 majorseventh musicalfifth majorthird
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3032 minorseventh musicalfifth minorthird
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3033
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3034 pythagoreanthird majorsecond musicalfifth^2 / octave
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3035 syntoniccomma pythagoreanthird / majorthird
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3036 pythagoreancomma musicalfifth^12 / octave^7
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3037
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3038 # Equal tempered definitions
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3039
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3040 semitone octave^(1|12)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3041 musicalcent(x) [1;1] semitone^(x/100) ; 100 log(musicalcent)/log(semitone)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3042
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3043 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3044 # Musical note lengths.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3045 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3046
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3047 wholenote !
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3048 MUSICAL_NOTE_LENGTH wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3049 halfnote 1|2 wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3050 quarternote 1|4 wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3051 eighthnote 1|8 wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3052 sixteenthnote 1|16 wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3053 thirtysecondnote 1|32 wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3054 sixtyfourthnote 1|64 wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3055 dotted 3|2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3056 doubledotted 7|4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3057 breve doublewholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3058 semibreve wholenote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3059 minimnote halfnote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3060 crotchet quarternote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3061 quaver eighthnote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3062 semiquaver sixteenthnote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3063 demisemiquaver thirtysecondnote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3064 hemidemisemiquaver sixtyfourthnote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3065 semidemisemiquaver hemidemisemiquaver
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3066
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3067 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3068 # yarn and cloth measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3069 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3070
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3071 # yarn linear density
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3072
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3073 woolyarnrun 1600 yard/pound # 1600 yds of "number 1 yarn" weighs
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3074 # a pound.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3075 yarncut 300 yard/pound # Less common system used in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3076 # Pennsylvania for wool yarn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3077 cottonyarncount 840 yard/pound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3078 linenyarncount 300 yard/pound # Also used for hemp and ramie
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3079 worstedyarncount 1680 ft/pound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3080 metricyarncount meter/gram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3081 denier 1|9 tex # used for silk and rayon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3082 manchesteryarnnumber drams/1000 yards # old system used for silk
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3083 pli lb/in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3084 typp 1000 yd/lb # abbreviation for Thousand Yard Per Pound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3085 asbestoscut 100 yd/lb # used for glass and asbestos yarn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3086
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3087 tex gram / km # rational metric yarn measure, meant
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3088 drex 0.1 tex # to be used for any kind of yarn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3089 poumar lb / 1e6 yard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3090
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3091 # yarn and cloth length
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3092
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3093 skeincotton 80*54 inch # 80 turns of thread on a reel with a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3094 # 54 in circumference (varies for other
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3095 # kinds of thread)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3096 cottonbolt 120 ft # cloth measurement
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3097 woolbolt 210 ft
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3098 bolt cottonbolt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3099 heer 600 yards
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3100 cut 300 yards # used for wet-spun linen yarn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3101 lea 300 yards
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3102
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3103 sailmakersyard 28.5 in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3104 sailmakersounce oz / sailmakersyard 36 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3105
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3106 silkmomme momme / 25 yards 1.49 inch # Traditional silk weight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3107 silkmm silkmomme # But it is also defined as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3108 # lb/100 yd 45 inch. The two
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3109 # definitions are slightly different
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3110 # and neither one seems likely to be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3111 # the true source definition.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3112
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3113 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3114 # drug dosage
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3115 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3116
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3117 mcg microgram # Frequently used for vitamins
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3118 iudiptheria 62.8 microgram # IU is for international unit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3119 iupenicillin 0.6 microgram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3120 iuinsulin 41.67 microgram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3121 drop 1|20 ml # The drop was an old "unit" that was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3122 # replaced by the minim. But I was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3123 # told by a pharmacist that in his
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3124 # profession, the conversion of 20
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3125 # drops per ml is actually used.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3126 bloodunit 450 ml # For whole blood. For blood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3127 # components, a blood unit is the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3128 # quanity of the component found in a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3129 # blood unit of whole blood. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3130 # human body contains about 12 blood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3131 # units of whole blood.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3132
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3133 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3134 # misc medical measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3135 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3136
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3137 frenchcathetersize 1|3 mm # measure used for the outer diameter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3138 # of a catheter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3139
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3140
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3141 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3142 # fixup units for times when prefix handling doesn't do the job
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3143 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3144
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3145 hectare hectoare
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3146 megohm megaohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3147 kilohm kiloohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3148 microhm microohm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3149 megalerg megaerg # 'L' added to make it pronounceable [18].
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3150
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3151 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3152 # Money
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3153 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3154 # Note that US$ is the primitive unit so other currencies are
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3155 # generally given in US$.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3156 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3157
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3158 $ dollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3159 mark germanymark
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3160 bolivar venezuelabolivar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3161 bolivarfuerte bolivar # The currency was revalued by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3162 oldbolivar 1|1000 bolivar # a factor of 1000.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3163 peseta spainpeseta
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3164 rand southafricarand
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3165 escudo portugalescudo
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3166 guilder netherlandsguilder
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3167 hollandguilder netherlandsguilder
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3168 peso mexicopeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3169 yen japanyen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3170 lira italylira
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3171 rupee indiarupee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3172 drachma greecedrachma
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3173 franc francefranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3174 markka finlandmarkka
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3175 britainpound greatbritainpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3176 poundsterling britainpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3177 yuan chinayuan
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3178
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3179 # Some European currencies have permanent fixed exchange rates with
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3180 # the Euro. These rates were taken from the EC's web site:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3181 # http://ec.europa.eu/economy_finance/euro/adoption/conversion/index_en.htm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3182
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3183 austriaschilling 1|13.7603 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3184 belgiumfranc 1|40.3399 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3185 estoniakroon 1|15.6466 euro # Equal to 1|8 germanymark
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3186 finlandmarkka 1|5.94573 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3187 francefranc 1|6.55957 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3188 germanymark 1|1.95583 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3189 greecedrachma 1|340.75 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3190 irelandpunt 1|0.787564 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3191 italylira 1|1936.27 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3192 luxembourgfranc 1|40.3399 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3193 netherlandsguilder 1|2.20371 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3194 portugalescudo 1|200.482 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3195 spainpeseta 1|166.386 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3196 cypruspound 1|0.585274 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3197 maltalira 1|0.429300 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3198 sloveniatolar 1|239.640 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3199 slovakiakoruna 1|30.1260 euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3200
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3201 # Currencey exchange rates for 10 Feb 2010
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3202
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3203 unitedarabemiratesdirham 0.2722 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3204 afghanistanafghani 0.02224 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3205 albanialek 0.009902 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3206 armeniadram 0.00264 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3207 netherlandsantillesguilder 0.5587 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3208 angolakwanza 0.01108 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3209 argentinapeso 0.2603 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3210 australiadollar 0.8855 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3211 arubaguilders 0.5587 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3212 azerbaijannewmanat 1.2449 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3213 bosniamarka 0.7028 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3214 barbadosdollar 0.4988 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3215 bangladeshtaka 0.01445 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3216 bulgarialev 0.7 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3217 bahraindinar 2.652 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3218 burundifranc 0.000823 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3219 bermudadollar 1 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3220 bruneidollar 0.7066 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3221 boliviaboliviano 0.1425 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3222 brazilreal 0.5404 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3223 bahamasdollar 1 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3224 bhutanngultrum 0.02151 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3225 botswanapula 0.1455 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3226 belarusruble 0.000345 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3227 belizedollar 0.5128 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3228 canadadollar 0.9444 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3229 congofranc 0.001099 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3230 switzerlandfranc 0.9391 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3231 chilepeso 0.001871 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3232 chinayuan 0.1465 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3233 colombiapeso 0.000511 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3234 costaricacolon 0.001803 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3235 cubapeso 1 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3236 capeverdeescudo 0.01351 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3237 czechkoruny 5.2772 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3238 djiboutifranc 0.005595 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3239 denmarkkroner 18.498 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3240 dominicanrepublicpeso 0.02755 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3241 algeriadinar 0.01371 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3242 egyptpound 0.1822 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3243 eritreanakfa 0.06622 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3244 ethiopiabirr 0.07469 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3245 euro 1.3774 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3246 fijidollar 0.5099 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3247 falklandislandspound 1.5628 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3248 greatbritainpound 1.5626 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3249 georgialari 0.5856 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3250 ghanacedi 0.703 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3251 gibraltarpound 1.5628 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3252 gambiadalasi 0.03737 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3253 guineafranc 0.000199 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3254 guatemalaquetzal 0.1221 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3255 guyanadollar 0.004862 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3256 hongkongdollar 0.1287 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3257 honduraslempira 0.05292 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3258 croatiakuna 0.1883 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3259 haitigourdes 0.02516 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3260 hungaryforint 0.005075 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3261 indonesiarupiah 0.01068 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3262 israelnewshekel 0.2667 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3263 indiarupee 0.02157 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3264 iraqdinar 0.000858 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3265 iranrial 0.000102 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3266 icelandkrona 0.007822 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3267 jamaicadollar 0.01122 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3268 jordandinar 1.4085 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3269 japanyen 0.0111 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3270 kenyashilling 0.0131 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3271 kyrgyzstansom 0.02239 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3272 cambodiariel 0.00024 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3273 comorosfranc 0.002799 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3274 northkoreawon 0.001111 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3275 kuwaitdinar 3.4697 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3276 caymanislandsdollar 1.2183 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3277 kazakhstantenge 0.006747 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3278 laoskip 0.000118 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3279 lebanonpound 0.000666 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3280 srilankarupee 0.008715 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3281 liberiadollar 0.01405 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3282 lesothomaloti 0.1297 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3283 lithuanialitai 0.399 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3284 latvialatas 1.9421 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3285 libyadinar 0.7977 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3286 moroccodirham 0.1226 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3287 moldovaleu 0.07803 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3288 madagascarariary 0.000468 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3289 macedoniadenar 0.02231 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3290 myanmarkyat 0.1536 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3291 mongoliatugrik 0.000693 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3292 macaupataca 0.125 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3293 mauritaniaouguiya 0.003824 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3294 mauritiusrupee 0.03279 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3295 maldivesrufiyaa 0.07813 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3296 malawikwacha 0.006632 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3297 mexicopeso 0.07639 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3298 malaysiaringgit 0.2921 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3299 mozambiquemeticai 0.0316 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3300 namibiadollar 0.1296 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3301 nigerianaira 0.006631 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3302 nicaraguacordoba 0.0477 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3303 norwaykrone 0.1695 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3304 nepalnepalrupee 0.01342 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3305 newzealanddollar 0.6967 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3306 omanrial 2.5971 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3307 panamabalboa 1 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3308 perusol 0.3486 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3309 papuanewguineakina 0.3754 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3310 philippinespeso 0.02157 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3311 pakistanrupee 0.01179 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3312 polandzloty 0.3389 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3313 paraguayguarani 0.000213 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3314 qatarrial 0.2747 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3315 romanialeu 0.3338 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3316 serbiadinar 0.01393 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3317 russiaruble 0.03304 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3318 rwandafranc 0.001745 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3319 saudiarabiariyal 0.2667 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3320 solomonislandsdollar 0.1273 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3321 seychellesrupee 0.08753 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3322 sudanpound 0.4464 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3323 swedenkronor 13.719 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3324 singaporedollar 0.7065 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3325 sainthelenapound 1.5627 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3326 sierraleoneleone 0.000255 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3327 somaliashilling 0.000669 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3328 surinamedollar 0.3635 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3329 saotomedobra 6.427e-05 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3330 elsalvadorcolon 0.1143 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3331 syriapound 0.02179 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3332 swazilandemalangeni 0.1297 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3333 thailandbaht 0.03016 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3334 tajikistansomoni 0.229 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3335 tunisiadinar 0.7275 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3336 tongapa'anga 0.517 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3337 turkeynewlira 0.6597 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3338 trinidadandtobagodollar 0.1579 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3339 taiwandollars 0.03119 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3340 tanzaniashilling 0.000741 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3341 ukrainehryvnia 0.1239 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3342 ugandashilling 0.000505 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3343 unitedstatesdollar 1 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3344 uruguaypeso 0.05079 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3345 uzbekistansum 0.000653 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3346 venezuelabolivar 0.233 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3347 vietnamdong 5.4e-05 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3348 vanuatuvatu 0.01008 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3349 samoatala 0.3885 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3350 silverounce 13.344 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3351 goldounce 1076.6 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3352 eastcaribbeandollar 0.3824 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3353 palladiumounce 207.4 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3354 platinumounce 1117.7 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3355 yemenrial 0.004855 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3356 southafricarand 0.1297 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3357 zambiakwacha 0.000214 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3358 zimbabwedollar 0.002641 US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3359
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3360 # ISO Currency Codes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3361
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3362 AED unitedarabemiratesdirham
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3363 AFN afghanistanafghani
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3364 ALL albanialek
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3365 AMD armeniadram
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3366 ANG netherlandsantillesguilder
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3367 AOA angolakwanza
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3368 ARS argentinapeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3369 AUD australiadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3370 AWG arubaguilders
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3371 AZN azerbaijannewmanat
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3372 BAM bosniamarka
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3373 BBD barbadosdollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3374 BDT bangladeshtaka
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3375 BGN bulgarialev
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3376 BHD bahraindinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3377 BIF burundifranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3378 BMD bermudadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3379 BND bruneidollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3380 BOB boliviaboliviano
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3381 BRL brazilreal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3382 BSD bahamasdollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3383 BTN bhutanngultrum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3384 BWP botswanapula
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3385 BYR belarusruble
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3386 BZD belizedollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3387 CAD canadadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3388 CDF congofranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3389 CHF switzerlandfranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3390 CLP chilepeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3391 CNY chinayuan
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3392 COP colombiapeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3393 CRC costaricacolon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3394 CUP cubapeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3395 CVE capeverdeescudo
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3396 CZK czechkoruny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3397 DJF djiboutifranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3398 DKK denmarkkroner
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3399 DOP dominicanrepublicpeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3400 DZD algeriadinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3401 EEK estoniakroon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3402 EGP egyptpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3403 ERN eritreanakfa
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3404 ETB ethiopiabirr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3405 EUR euro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3406 FJD fijidollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3407 FKP falklandislandspound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3408 GBP greatbritainpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3409 GEL georgialari
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3410 GHS ghanacedi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3411 GIP gibraltarpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3412 GMD gambiadalasi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3413 GNF guineafranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3414 GTQ guatemalaquetzal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3415 GYD guyanadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3416 HKD hongkongdollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3417 HNL honduraslempira
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3418 HRK croatiakuna
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3419 HTG haitigourdes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3420 HUF hungaryforint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3421 IDR indonesiarupiah
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3422 ILS israelnewshekel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3423 INR indiarupee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3424 IQD iraqdinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3425 IRR iranrial
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3426 ISK icelandkrona
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3427 JMD jamaicadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3428 JOD jordandinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3429 JPY japanyen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3430 KES kenyashilling
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3431 KGS kyrgyzstansom
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3432 KHR cambodiariel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3433 KMF comorosfranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3434 KPW northkoreawon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3435 KWD kuwaitdinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3436 KYD caymanislandsdollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3437 KZT kazakhstantenge
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3438 LAK laoskip
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3439 LBP lebanonpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3440 LKR srilankarupee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3441 LRD liberiadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3442 LSL lesothomaloti
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3443 LTL lithuanialitai
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3444 LVL latvialatas
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3445 LYD libyadinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3446 MAD moroccodirham
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3447 MDL moldovaleu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3448 MGA madagascarariary
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3449 MKD macedoniadenar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3450 MMK myanmarkyat
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3451 MNT mongoliatugrik
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3452 MOP macaupataca
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3453 MRO mauritaniaouguiya
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3454 MUR mauritiusrupee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3455 MVR maldivesrufiyaa
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3456 MWK malawikwacha
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3457 MXN mexicopeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3458 MYR malaysiaringgit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3459 MZN mozambiquemeticai
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3460 NAD namibiadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3461 NGN nigerianaira
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3462 NIO nicaraguacordoba
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3463 NOK norwaykrone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3464 NPR nepalnepalrupee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3465 NZD newzealanddollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3466 OMR omanrial
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3467 PAB panamabalboa
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3468 PEN perusol
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3469 PGK papuanewguineakina
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3470 PHP philippinespeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3471 PKR pakistanrupee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3472 PLN polandzloty
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3473 PYG paraguayguarani
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3474 QAR qatarrial
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3475 RON romanialeu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3476 RSD serbiadinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3477 RUB russiaruble
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3478 RWF rwandafranc
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3479 SAR saudiarabiariyal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3480 SBD solomonislandsdollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3481 SCR seychellesrupee
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3482 SDG sudanpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3483 SEK swedenkronor
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3484 SGD singaporedollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3485 SHP sainthelenapound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3486 SLL sierraleoneleone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3487 SOS somaliashilling
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3488 SRD surinamedollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3489 STD saotomedobra
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3490 SVC elsalvadorcolon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3491 SYP syriapound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3492 SZL swazilandemalangeni
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3493 THB thailandbaht
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3494 TJS tajikistansomoni
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3495 TND tunisiadinar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3496 TOP tongapa'anga
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3497 TRY turkeynewlira
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3498 TTD trinidadandtobagodollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3499 TWD taiwandollars
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3500 TZS tanzaniashilling
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3501 UAH ukrainehryvnia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3502 UGX ugandashilling
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3503 USD unitedstatesdollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3504 UYU uruguaypeso
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3505 UZS uzbekistansum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3506 VEF venezuelabolivar # bolivar fuerte
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3507 VND vietnamdong
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3508 VUV vanuatuvatu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3509 WST samoatala
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3510 XAG silverounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3511 XAU goldounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3512 XCD eastcaribbeandollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3513 XPD palladiumounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3514 XPT platinumounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3515 YER yemenrial
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3516 ZAR southafricarand
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3517 ZMK zambiakwacha
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3518 ZWD zimbabwedollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3519
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3520 # Precious metals
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3521
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3522 silverprice silverounce / troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3523 goldprice goldounce / troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3524 palladiumprice palladiumounce / troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3525 platinumprice platinumounce / troyounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3526
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3527
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3528 UKP GBP # Not an ISO code, but looks like one, and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3529 # sometimes used on usenet.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3530 VEB 1|1000 VEF # old venezuelan bolivar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3531
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3532
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3533
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3534
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3535 # Money on the gold standard, used in the late 19th century and early
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3536 # 20th century.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3537
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3538 olddollargold 23.22 grains goldprice # Used until 1934
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3539 newdollargold 96|7 grains goldprice # After Jan 31, 1934
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3540 dollargold newdollargold
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3541 poundgold 113 grains goldprice
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3542
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3543 # Nominal masses of US coins. Note that dimes, quarters and half dollars
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3544 # have weight proportional to value. Before 1965 it was $40 / kg.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3545
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3546 USpennyweight 2.5 grams # Since 1982, 48 grains before
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3547 USnickelweight 5 grams
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3548 USdimeweight 10 cents / (20 US$ / lb) # Since 1965
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3549 USquarterweight 25 cents / (20 US$ / lb) # Since 1965
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3550 UShalfdollarweight 50 cents / (20 US$ / lb) # Since 1971
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3551 USdollarmass 8.1 grams
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3552
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3553 # British currency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3554
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3555 quid britainpound # Slang names
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3556 fiver 5 quid
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3557 tenner 10 quid
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3558 monkey 500 quid
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3559 brgrand 1000 quid
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3560 bob shilling
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3561
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3562 shilling 1|20 britainpound # Before decimalisation, there
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3563 oldpence 1|12 shilling # were 20 shillings to a pound,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3564 farthing 1|4 oldpence # each of twelve old pence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3565 guinea 21 shilling # Still used in horse racing
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3566 crown 5 shilling
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3567 florin 2 shilling
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3568 groat 4 oldpence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3569 tanner 6 oldpence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3570 brpenny 0.01 britainpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3571 pence brpenny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3572 tuppence 2 pence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3573 tuppenny tuppence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3574 ha'penny halfbrpenny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3575 hapenny ha'penny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3576 oldpenny oldpence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3577 oldtuppence 2 oldpence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3578 oldtuppenny oldtuppence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3579 threepence 3 oldpence # threepence never refers to new money
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3580 threepenny threepence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3581 oldthreepence threepence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3582 oldthreepenny threepence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3583 oldhalfpenny halfoldpenny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3584 oldha'penny oldhalfpenny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3585 oldhapenny oldha'penny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3586 brpony 25 britainpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3587
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3588 # Canadian currency
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3589
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3590 loony 1 canadadollar # This coin depicts a loon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3591 toony 2 canadadollar
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3592
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3593 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3594 # Units used for measuring volume of wood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3595 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3596
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3597 cord 4*4*8 ft^3 # 4 ft by 4 ft by 8 ft bundle of wood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3598 facecord 1|2 cord
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3599 cordfoot 1|8 cord # One foot long section of a cord
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3600 cordfeet cordfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3601 housecord 1|3 cord # Used to sell firewood for residences,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3602 # often confusingly called a "cord"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3603 boardfoot ft^2 inch # Usually 1 inch thick wood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3604 boardfeet boardfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3605 fbm boardfoot # feet board measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3606 stack 4 yard^3 # British, used for firewood and coal [18]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3607 rick 4 ft 8 ft 16 inches # Stack of firewood, supposedly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3608 # sometimes called a face cord, but this
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3609 # value is equal to 1|3 cord. Name
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3610 # comes from an old Norse word for a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3611 # stack of wood.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3612 stere m^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3613 timberfoot ft^3 # Used for measuring solid blocks of wood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3614 standard 120 12 ft 11 in 1.5 in # This is the St Petersburg or
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3615 # Pittsburg standard. Apparently the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3616 # term is short for "standard hundred"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3617 # which was meant to refer to 100 pieces
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3618 # of wood (deals). However, this
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3619 # particular standard is equal to 120
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3620 # deals which are 12 ft by 11 in by 1.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3621 # inches (not the standard deal).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3622
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3623 # In Britain, the deal is apparently any piece of wood over 6 feet long, over
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3624 # 7 wide and 2.5 inches thick. The OED doesn't give a standard size. A piece
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3625 # of wood less than 7 inches wide is called a "batten". This unit is now used
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3626 # exclusively for fir and pine.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3627
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3628 deal 12 ft 11 in 2.5 in # The standard North American deal [OED]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3629 wholedeal 12 ft 11 in 1.25 in # If it's half as thick as the standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3630 # deal it's called a "whole deal"!
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3631 splitdeal 12 ft 11 in 5|8 in # And half again as thick is a split deal.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3632
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3633
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3634 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3635 # Gas and Liquid flow units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3636 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3637
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3638 FLUID_FLOW VOLUME / TIME
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3639
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3640 # Some obvious volumetric gas flow units (cu is short for cubic)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3641
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3642 cumec m^3/s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3643 cusec ft^3/s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3644
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3645 # Conventional abbreviations for fluid flow units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3646
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3647 gph gal/hr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3648 gpm gal/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3649 mgd megagal/day
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3650 cfs ft^3/s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3651 cfh ft^3/hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3652 cfm ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3653 lpm liter/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3654 lfm ft/min # Used to report air flow produced by fans.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3655 # Multiply by cross sectional area to get a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3656 # flow in cfm.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3657
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3658 pru mmHg / (ml/min) # peripheral resistance unit, used in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3659 # medicine to assess blood flow in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3660 # the capillaries.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3661
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3662 # Miner's inch: This is an old historic unit used in the Western United
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3663 # States. It is generally defined as the rate of flow through a one square
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3664 # inch hole at a specified depth such as 4 inches. In the late 19th century,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3665 # volume of water was sometimes measured in the "24 hour inch". Values for the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3666 # miner's inch were fixed by state statues. (This information is from a web
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3667 # site operated by the Nevada Division of Water Planning: The Water Words
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3668 # Dictionary at http://www.state.nv.us/cnr/ndwp/dict-1/waterwds.htm.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3669
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3670 minersinchAZ 1.5 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3671 minersinchCA 1.5 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3672 minersinchMT 1.5 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3673 minersinchNV 1.5 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3674 minersinchOR 1.5 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3675 minersinchID 1.2 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3676 minersinchKS 1.2 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3677 minersinchNE 1.2 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3678 minersinchNM 1.2 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3679 minersinchND 1.2 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3680 minersinchSD 1.2 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3681 minersinchUT 1.2 ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3682 minersinchCO 1 ft^3/sec / 38.4 # 38.4 miner's inches = 1 ft^3/sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3683 minersinchBC 1.68 ft^3/min # British Columbia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3684
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3685 # Oceanographic flow
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3686
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3687 sverdrup 1e6 m^3 / sec # Used to express flow of ocean
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3688 # currents. Named after Norwegian
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3689 # oceanographer H. Sverdrup.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3690
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3691 # In vacuum science and some other applications, gas flow is measured
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3692 # as the product of volumetric flow and pressure. This is useful
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3693 # because it makes it easy to compare with the flow at standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3694 # pressure (one atmosphere). It also directly relates to the number
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3695 # of gas molecules per unit time, and hence to the mass flow if the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3696 # molecular mass is known.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3697
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3698 GAS_FLOW PRESSURE FLUID_FLOW
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3699
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3700 sccm atm cc/min # 's' is for "standard" to indicate
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3701 sccs atm cc/sec # flow at standard pressure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3702 scfh atm ft^3/hour #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3703 scfm atm ft^3/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3704 slpm atm liter/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3705 slph atm liter/hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3706 lusec liter micron Hg / s # Used in vacuum science
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3707
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3708 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3709 # Wire Gauge
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3710 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3711 # This area is a nightmare with huge charts of wire gauge diameters
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3712 # that usually have no clear origin. There are at least 5 competing wire gauge
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3713 # systems to add to the confusion. The use of wire gauge is related to the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3714 # manufacturing method: a metal rod is heated and drawn through a hole. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3715 # size change can't be too big. To get smaller wires, the process is repeated
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3716 # with a series of smaller holes. Generally larger gauges mean smaller wires.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3717 # The gauges often have values such as "00" and "000" which are larger sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3718 # than simply "0" gauge. In the tables that appear below, these gauges must be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3719 # specified as negative numbers (e.g. "00" is -1, "000" is -2, etc).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3720 # Alternatively, you can use the following units:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3721 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3722
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3723 g00 (-1)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3724 g000 (-2)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3725 g0000 (-3)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3726 g00000 (-4)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3727 g000000 (-5)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3728 g0000000 (-6)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3729
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3730 # American Wire Gauge (AWG) or Brown & Sharpe Gauge appears to be the most
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3731 # important gauge. ASTM B-258 specifies that this gauge is based on geometric
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3732 # interpolation between gauge 0000, which is 0.46 inches exactly, and gauge 36
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3733 # which is 0.005 inches exactly. Therefore, the diameter in inches of a wire
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3734 # is given by the formula 1|200 92^((36-g)/39). Note that 92^(1/39) is close
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3735 # to 2^(1/6), so diameter is approximately halved for every 6 gauges. For the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3736 # repeated zero values, use negative numbers in the formula. The same document
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3737 # also specifies rounding rules which seem to be ignored by makers of tables.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3738 # Gauges up to 44 are to be specified with up to 4 significant figures, but no
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3739 # closer than 0.0001 inch. Gauges from 44 to 56 are to be rounded to the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3740 # nearest 0.00001 inch.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3741 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3742 # In addition to being used to measure wire thickness, this gauge is used to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3743 # measure the thickness of sheets of aluminum, copper, and most metals other
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3744 # than steel, iron and zinc.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3745
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3746 wiregauge(g) [;m] 1|200 92^((36+(-g))/39) in;36+(-39)ln(200 wiregauge/in)/ln(92)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3747
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3748 # Next we have the SWG, the Imperial or British Standard Wire Gauge. This one
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3749 # is piecewise linear. It was used for aluminum sheets.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3750
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3751 brwiregauge[in] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3752 -6 0.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3753 -5 0.464 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3754 -3 0.4 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3755 -2 0.372 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3756 3 0.252 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3757 6 0.192 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3758 10 0.128 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3759 14 0.08 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3760 19 0.04 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3761 23 0.024 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3762 26 0.018 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3763 28 0.0148 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3764 30 0.0124 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3765 39 0.0052 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3766 49 0.0012 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3767 50 0.001
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3768
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3769 # The following is from the Appendix to ASTM B 258
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3770 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3771 # For example, in U.S. gage, the standard for sheet metal is based on the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3772 # weight of the metal, not on the thickness. 16-gage is listed as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3773 # approximately .0625 inch thick and 40 ounces per square foot (the original
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3774 # standard was based on wrought iron at .2778 pounds per cubic inch; steel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3775 # has almost entirely superseded wrought iron for sheet use, at .2833 pounds
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3776 # per cubic inch). Smaller numbers refer to greater thickness. There is no
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3777 # formula for converting gage to thickness or weight.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3778 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3779 # It's rather unclear from the passage above whether the plate gauge values are
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3780 # therefore wrong if steel is being used. Reference [15] states that steel is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3781 # in fact measured using this gauge (under the name Manufacturers' Standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3782 # Gauge) with a density of 501.84 lb/ft3 = 0.2904 lb/in3 used for steel.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3783 # But this doesn't seem to be the correct density of steel (.2833 lb/in3 is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3784 # closer).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3785 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3786 # This gauge was established in 1893 for purposes of taxation.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3787
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3788 # Old plate gauge for iron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3789
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3790 plategauge[(oz/ft^2)/(480*lb/ft^3)] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3791 -5 300 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3792 1 180 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3793 14 50 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3794 16 40 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3795 17 36 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3796 20 24 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3797 26 12 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3798 31 7 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3799 36 4.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3800 38 4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3801
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3802 # Manufacturers Standard Gage
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3803
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3804 stdgauge[(oz/ft^2)/(501.84*lb/ft^3)] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3805 -5 300 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3806 1 180 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3807 14 50 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3808 16 40 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3809 17 36 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3810 20 24 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3811 26 12 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3812 31 7 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3813 36 4.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3814 38 4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3815
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3816 # A special gauge is used for zinc sheet metal. Notice that larger gauges
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3817 # indicate thicker sheets.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3818
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3819 zincgauge[in] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3820 1 0.002 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3821 10 0.02 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3822 15 0.04 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3823 19 0.06 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3824 23 0.1 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3825 24 0.125 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3826 27 0.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3827 28 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3828
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3829 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3830 # Screw sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3831 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3832 # In the USA, screw diameters are reported using a gauge number.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3833 # Metric screws are reported as Mxx where xx is the diameter in mm.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3834 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3835
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3836 screwgauge(g) [;m] (.06 + .013 g) in ; (screwgauge/in + (-.06)) / .013
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3837
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3838 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3839 # Abrasive grit size
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3840 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3841 # Standards governing abrasive grit sizes are complicated, specifying
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3842 # fractions of particles that are passed or retained by different mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3843 # sizes. As a result, it is not possible to make precise comparisons
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3844 # of different grit standards. The tables below allow the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3845 # determination of rough equivlants by using median particle size.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3846 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3847 # Standards in the USA are determined by the Unified Abrasives
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3848 # Manufacturers' Association (UAMA), which resulted from the merger of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3849 # several previous organizations. One of the old organizations was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3850 # CAMI (Coated Abrasives Manufacturers' Institute).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3851 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3852 # UAMA has a web page with plots showing abrasve particle ranges for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3853 # various different grits and comparisons between standards.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3854 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3855 # http://www.uama.org/Abrasives101/101Standards.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3856 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3857 # Abrasives are grouped into "bonded" abrasives for use with grinding
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3858 # wheels and "coated" abrasives for sandpapers and abrasive films.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3859 # The industry uses different grit standards for these two
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3860 # categories.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3861 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3862 # Another division is between "macrogrits", grits below 240 and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3863 # "microgrits", which are above 240. Standards differ, as do methods
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3864 # for determining particle size. In the USA, ANSI B74.12 is the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3865 # standard governing macrogrits. ANSI B74.10 covers bonded microgrit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3866 # abrasives, and ANSI B74.18 covers coated microgrit abrasives. It
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3867 # appears that the coated standard is identical to the bonded standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3868 # for grits up through 600 but then diverges significantly.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3869 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3870 # European grit sizes are determined by the Federation of European
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3871 # Producers of Abrasives. http://www.fepa-abrasives.org
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3872 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3873 # They give two standards, the "F" grit for bonded abrasives and the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3874 # "P" grit for coated abrasives. This data is taken directly from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3875 # their web page.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3876
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3877 # FEPA P grit for coated abrasives is commonly seen on sandpaper in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3878 # the USA where the paper will be marked P600, for example. FEPA P
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3879 # grits are said to be more tightly constrained than comparable ANSI
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3880 # grits so that the particles are more uniform in size and hence give
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3881 # a better finish.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3882
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3883 grit_P[micron] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3884 12 1815 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3885 16 1324 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3886 20 1000 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3887 24 764 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3888 30 642 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3889 36 538 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3890 40 425 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3891 50 336 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3892 60 269 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3893 80 201 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3894 100 162 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3895 120 125 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3896 150 100 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3897 180 82 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3898 220 68 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3899 240 58.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3900 280 52.2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3901 320 46.2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3902 360 40.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3903 400 35 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3904 500 30.2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3905 600 25.8 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3906 800 21.8 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3907 1000 18.3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3908 1200 15.3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3909 1500 12.6 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3910 2000 10.3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3911 2500 8.4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3912
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3913 grit_F[micron] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3914 4 4890 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3915 5 4125 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3916 6 3460 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3917 7 2900 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3918 8 2460 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3919 10 2085 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3920 12 1765 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3921 14 1470 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3922 16 1230 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3923 20 1040 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3924 22 885 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3925 24 745 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3926 30 625 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3927 36 525 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3928 40 438 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3929 46 370 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3930 54 310 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3931 60 260 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3932 70 218 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3933 80 185 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3934 90 154 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3935 100 129 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3936 120 109 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3937 150 82 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3938 180 69 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3939 220 58 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3940 230 53 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3941 240 44.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3942 280 36.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3943 320 29.2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3944 360 22.8 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3945 400 17.3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3946 500 12.8 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3947 600 9.3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3948 800 6.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3949 1000 4.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3950 1200 3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3951 1500 2.0 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3952 2000 1.2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3953
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3954 # According to the UAMA web page, the ANSI bonded and ANSI coated standards
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3955 # are identical to FEPA F in the macrogrit range (under 240 grit), so these
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3956 # values are taken from the FEPA F table. The values for 240 and above are
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3957 # from the UAMA web site and represent the average of the "d50" range
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3958 # endpoints listed there.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3959
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3960 grit_ansibonded[micron] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3961 4 4890 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3962 5 4125 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3963 6 3460 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3964 7 2900 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3965 8 2460 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3966 10 2085 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3967 12 1765 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3968 14 1470 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3969 16 1230 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3970 20 1040 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3971 22 885 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3972 24 745 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3973 30 625 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3974 36 525 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3975 40 438 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3976 46 370 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3977 54 310 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3978 60 260 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3979 70 218 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3980 80 185 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3981 90 154 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3982 100 129 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3983 120 109 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3984 150 82 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3985 180 69 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3986 220 58 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3987 240 50 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3988 280 39.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3989 320 29.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3990 360 23 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3991 400 18.25 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3992 500 13.9 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3993 600 10.55 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3994 800 7.65 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3995 1000 5.8 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3996 1200 3.8
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3997
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3998 # Like the bonded grit, the coated macrogrits below 240 are taken from the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3999 # FEPA F table. Data above this is from the UAMA site. Note that the coated
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4000 # and bonded standards are evidently the same from 240 up to 600 grit, but
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4001 # starting at 800 grit, the coated standard diverges. The data from UAMA show
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4002 # that 800 grit coated has an average size slightly larger than the average
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4003 # size of 600 grit coated/bonded. However, the 800 grit has a significantly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4004 # smaller particle size variation.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4005
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4006 ansicoated[micron] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4007 4 4890 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4008 5 4125 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4009 6 3460 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4010 7 2900 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4011 8 2460 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4012 10 2085 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4013 12 1765 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4014 14 1470 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4015 16 1230 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4016 20 1040 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4017 22 885 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4018 24 745 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4019 30 625 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4020 36 525 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4021 40 438 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4022 46 370 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4023 54 310 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4024 60 260 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4025 70 218 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4026 80 185 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4027 90 154 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4028 100 129 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4029 120 109 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4030 150 82 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4031 180 69 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4032 220 58 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4033 240 50 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4034 280 39.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4035 320 29.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4036 360 23 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4037 400 18.25 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4038 500 13.9 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4039 600 10.55 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4040 800 11.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4041 1000 9.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4042 2000 7.2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4043 2500 5.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4044 3000 4 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4045 4000 3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4046 6000 2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4047 8000 1.2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4048
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4049 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4050 # Is this correct? This is the JIS Japanese standard used on waterstones
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4051 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4052 jisgrit[micron] \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4053 150 75 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4054 180 63 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4055 220 53 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4056 280 48 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4057 320 40 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4058 360 35 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4059 400 30 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4060 600 20 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4061 700 17 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4062 800 14 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4063 1000 11.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4064 1200 9.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4065 1500 8 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4066 2000 6.7 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4067 2500 5.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4068 3000 4 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4069 4000 3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4070 6000 2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4071 8000 1.2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4072
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4073 # The "Finishing Scale" marked with an A (e.g. A75). This information
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4074 # is from the web page of the sand paper manufacturer Klingspor
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4075 # http://www.klingspor.com/gritgradingsystems.htm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4076 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4077 # I have no information about what this scale is used for.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4078
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4079 grit_A[micron]\
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4080 16 15.3 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4081 25 21.8 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4082 30 23.6 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4083 35 25.75 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4084 45 35 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4085 60 46.2 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4086 65 53.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4087 75 58.5 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4088 90 65 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4089 110 78 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4090 130 93 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4091 160 127 \
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4092 200 156
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4093 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4094 # Grits for DMT brand diamond sharpening stones from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4095 # http://dmtsharp.com/products/colorcode.htm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4096 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4097
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4098 dmtxxcoarse 120 micron # 120 mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4099 dmtsilver dmtxxcoarse
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4100 dmtxx dmtxxcoarse
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4101 dmtxcoarse 60 micron # 220 mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4102 dmtx dmtxcoarse
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4103 dmtblack dmtxcoarse
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4104 dmtcoarse 45 micron # 325 mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4105 dmtc dmtcoarse
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4106 dmtblue dmtcoarse
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4107 dmtfine 25 micron # 600 mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4108 dmtred dmtfine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4109 dmtf dmtfine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4110 dmtefine 9 micron # 1200 mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4111 dmte dmtefine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4112 dmtgreen dmtefine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4113 dmtceramic 7 micron # 2200 mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4114 dmtcer dmtceramic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4115 dmtwhite dmtceramic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4116 dmteefine 3 micron # 8000 mesh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4117 dmttan dmteefine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4118 dmtee dmteefine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4119
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4120 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4121 # The following values come from a page in the Norton Stones catalog,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4122 # available at their web page, http://www.nortonstones.com.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4123 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4124
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4125 hardtranslucentarkansas 6 micron # Natural novaculite (silicon quartz)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4126 softarkansas 22 micron # stones
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4127
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4128 extrafineindia 22 micron # India stones are Norton's manufactured
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4129 fineindia 35 micron # aluminum oxide product
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4130 mediumindia 53.5 micron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4131 coarseindia 97 micron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4132
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4133 finecrystolon 45 micron # Crystolon stones are Norton's
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4134 mediumcrystalon 78 micron # manufactured silicon carbide product
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4135 coarsecrystalon 127 micron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4136
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4137 # The following are not from the Norton catalog
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4138 hardblackarkansas 6 micron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4139 hardwhitearkansas 11 micron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4140 washita 35 micron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4141
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4142 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4143 # Ring size. All ring sizes are given as the circumference of the ring.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4144 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4145
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4146 # USA ring sizes. Several slightly different definitions seem to be in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4147 # circulation. According to [15], the interior diameter of size n ring in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4148 # inches is 0.32 n + 0.458 for n ranging from 3 to 13.5 by steps of 0.5. The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4149 # size 2 ring is inconsistently 0.538in and no 2.5 size is listed.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4150 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4151 # However, other sources list 0.455 + 0.0326 n and 0.4525 + 0.0324 n as the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4152 # diameter and list no special case for size 2. (Or alternatively they are
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4153 # 1.43 + .102 n and 1.4216+.1018 n for measuring circumference in inches.) One
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4154 # reference claimed that the original system was that each size was 1|10 inch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4155 # circumference, but that source doesn't have an explanation for the modern
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4156 # system which is somewhat different.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4157
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4158 ringsize(n) [;in] (1.4216+.1018 n) in ; (ringsize/in + (-1.4216))/.1018
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4159
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4160 # Old practice in the UK measured rings using the "Wheatsheaf gauge" with sizes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4161 # specified alphabetically and based on the ring inside diameter in steps of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4162 # 1|64 inch. This system was replaced in 1987 by British Standard 6820 which
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4163 # specifies sizes based on circumference. Each size is 1.25 mm different from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4164 # the preceding size. The baseline is size C which is 40 mm circumference.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4165 # The new sizes are close to the old ones. Sometimes it's necessary to go
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4166 # beyond size Z to Z+1, Z+2, etc.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4167
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4168 sizeAring 37.50 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4169 sizeBring 38.75 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4170 sizeCring 40.00 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4171 sizeDring 41.25 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4172 sizeEring 42.50 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4173 sizeFring 43.75 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4174 sizeGring 45.00 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4175 sizeHring 46.25 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4176 sizeIring 47.50 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4177 sizeJring 48.75 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4178 sizeKring 50.00 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4179 sizeLring 51.25 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4180 sizeMring 52.50 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4181 sizeNring 53.75 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4182 sizeOring 55.00 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4183 sizePring 56.25 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4184 sizeQring 57.50 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4185 sizeRring 58.75 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4186 sizeSring 60.00 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4187 sizeTring 61.25 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4188 sizeUring 62.50 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4189 sizeVring 63.75 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4190 sizeWring 65.00 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4191 sizeXring 66.25 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4192 sizeYring 67.50 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4193 sizeZring 68.75 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4194
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4195 # Japanese sizes start with size 1 at a 13mm inside diameter and each size is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4196 # 1|3 mm larger in diameter than the previous one. They are multiplied by pi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4197 # to give circumference.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4198
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4199 jpringsize(n) [;mm] (38|3 + n/3) pi mm ; 3 jpringsize/ pi mm + (-38)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4200
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4201 # The European ring sizes are the length of the circumference in mm minus 40.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4202
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4203 euringsize(n) [;mm] (n+40) mm ; euringsize/mm + (-40)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4204
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4205 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4206 # Abbreviations
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4207 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4208
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4209 mph mile/hr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4210 mpg mile/gal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4211 kph km/hr
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4212 fL footlambert
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4213 fpm ft/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4214 fps ft/s
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4215 rpm rev/min
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4216 rps rev/sec
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4217 mi mile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4218 smi mile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4219 nmi nauticalmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4220 mbh 1e3 btu/hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4221 mcm 1e3 circularmil
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4222 ipy inch/year # used for corrosion rates
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4223 ccf 100 ft^3 # used for selling water [18]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4224 Mcf 1000 ft^3 # not million cubic feet [18]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4225 kp kilopond
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4226 kpm kp meter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4227 Wh W hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4228 hph hp hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4229 plf lb / foot # pounds per linear foot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4230
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4231 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4232 # Compatibility units with unix version
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4233 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4234
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4235 pa Pa
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4236 ev eV
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4237 hg Hg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4238 oe Oe
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4239 mh mH
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4240 rd rod
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4241 pf pF
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4242 gr grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4243 nt N
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4244 hz Hz
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4245 hd hogshead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4246 dry drygallon/gallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4247 imperial brgallon/gallon # This is a dubious definition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4248 # since it fails for fluid ounces
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4249 # and all units derived from fluid
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4250 # ounces.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4251 nmile nauticalmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4252 beV GeV
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4253 bev beV
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4254 coul C
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4255
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4256 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4257 # Radioactivity units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4258 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4259
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4260 becquerel /s # Activity of radioactive source
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4261 Bq becquerel #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4262 curie 3.7e10 Bq # Defined in 1910 as the radioactivity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4263 Ci curie # emitted by the amount of radon that is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4264 # in equilibrium with 1 gram of radium.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4265 rutherford 1e6 Bq #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4266
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4267 RADIATION_DOSE gray
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4268 gray J/kg # Absorbed dose of radiation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4269 Gy gray #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4270 rad 1e-2 Gy # From Radiation Absorbed Dose
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4271 rep 8.38 mGy # Roentgen Equivalent Physical, the amount
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4272 # of radiation which , absorbed in the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4273 # body, would liberate the same amount
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4274 # of energy as 1 roentgen of X rays
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4275 # would, or 97 ergs.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4276
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4277 sievert J/kg # Dose equivalent: dosage that has the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4278 Sv sievert # same effect on human tissues as 200
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4279 rem 1e-2 Sv # keV X-rays. Different types of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4280 # radiation are weighted by the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4281 # Relative Biological Effectiveness
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4282 # (RBE).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4283 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4284 # Radiation type RBE
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4285 # X-ray, gamma ray 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4286 # beta rays, > 1 MeV 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4287 # beta rays, < 1 MeV 1.08
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4288 # neutrons, < 1 MeV 4-5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4289 # neutrons, 1-10 MeV 10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4290 # protons, 1 MeV 8.5
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4291 # protons, .1 MeV 10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4292 # alpha, 5 MeV 15
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4293 # alpha, 1 MeV 20
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4294 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4295 # The energies are the kinetic energy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4296 # of the particles. Slower particles
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4297 # interact more, so they are more
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4298 # effective ionizers, and hence have
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4299 # higher RBE values.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4300 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4301 # rem stands for Roentgen Equivalent
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4302 # Mammal
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4303
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4304 roentgen 2.58e-4 C / kg # Ionizing radiation that produces
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4305 # 1 statcoulomb of charge in 1 cc of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4306 # dry air at stp.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4307 rontgen roentgen # Sometimes it appears spelled this way
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4308 sievertunit 8.38 rontgen # Unit of gamma ray dose delivered in one
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4309 # hour at a distance of 1 cm from a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4310 # point source of 1 mg of radium
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4311 # enclosed in platinum .5 mm thick.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4312
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4313 eman 1e-7 Ci/m^3 # radioactive concentration
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4314 mache 3.7e-7 Ci/m^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4315
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4316 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4317 # Atomic weights. The atomic weight of an element is the ratio of the mass of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4318 # a mole of the element to 1|12 of a mole of Carbon 12. The Standard Atomic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4319 # Weights apply to the elements as they occur naturally on earth. Elements
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4320 # which do not occur naturally or which occur with wide isotopic variability do
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4321 # not have Standard Atomic Weights. For these elements, the atomic weight is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4322 # based on the longest lived isotope, as marked in the comments. In some
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4323 # cases, the comment for these entries also gives a number which is an atomic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4324 # weight for a different isotope that may be of more interest than the longest
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4325 # lived isotope.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4326 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4327
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4328 actinium 227.0278
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4329 aluminum 26.981539
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4330 americium 243.0614 # Longest lived. 241.06
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4331 antimony 121.760
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4332 argon 39.948
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4333 arsenic 74.92159
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4334 astatine 209.9871 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4335 barium 137.327
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4336 berkelium 247.0703 # Longest lived. 249.08
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4337 beryllium 9.012182
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4338 bismuth 208.98037
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4339 boron 10.811
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4340 bromine 79.904
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4341 cadmium 112.411
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4342 calcium 40.078
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4343 californium 251.0796 # Longest lived. 252.08
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4344 carbon 12.011
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4345 cerium 140.115
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4346 cesium 132.90543
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4347 chlorine 35.4527
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4348 chromium 51.9961
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4349 cobalt 58.93320
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4350 copper 63.546
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4351 curium 247.0703
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4352 dysprosium 162.50
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4353 einsteinium 252.083 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4354 erbium 167.26
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4355 europium 151.965
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4356 fermium 257.0951 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4357 fluorine 18.9984032
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4358 francium 223.0197 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4359 gadolinium 157.25
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4360 gallium 69.723
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4361 germanium 72.61
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4362 gold 196.96654
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4363 hafnium 178.49
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4364 helium 4.002602
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4365 holmium 164.93032
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4366 hydrogen 1.00794
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4367 indium 114.818
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4368 iodine 126.90447
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4369 iridium 192.217
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4370 iron 55.845
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4371 krypton 83.80
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4372 lanthanum 138.9055
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4373 lawrencium 262.11 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4374 lead 207.2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4375 lithium 6.941
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4376 lutetium 174.967
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4377 magnesium 24.3050
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4378 manganese 54.93805
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4379 mendelevium 258.10 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4380 mercury 200.59
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4381 molybdenum 95.94
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4382 neodymium 144.24
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4383 neon 20.1797
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4384 neptunium 237.0482
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4385 nickel 58.6934
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4386 niobium 92.90638
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4387 nitrogen 14.00674
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4388 nobelium 259.1009 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4389 osmium 190.23
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4390 oxygen 15.9994
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4391 palladium 106.42
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4392 phosphorus 30.973762
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4393 platinum 195.08
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4394 plutonium 244.0642 # Longest lived. 239.05
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4395 polonium 208.9824 # Longest lived. 209.98
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4396 potassium 39.0983
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4397 praseodymium 140.90765
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4398 promethium 144.9127 # Longest lived. 146.92
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4399 protactinium 231.03588
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4400 radium 226.0254
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4401 radon 222.0176 # Longest lived
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4402 rhenium 186.207
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4403 rhodium 102.90550
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4404 rubidium 85.4678
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4405 ruthenium 101.07
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4406 samarium 150.36
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4407 scandium 44.955910
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4408 selenium 78.96
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4409 silicon 28.0855
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4410 silver 107.8682
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4411 sodium 22.989768
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4412 strontium 87.62
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4413 sulfur 32.066
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4414 tantalum 180.9479
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4415 technetium 97.9072 # Longest lived. 98.906
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4416 tellurium 127.60
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4417 terbium 158.92534
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4418 thallium 204.3833
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4419 thorium 232.0381
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4420 thullium 168.93421
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4421 tin 118.710
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4422 titanium 47.867
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4423 tungsten 183.84
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4424 uranium 238.0289
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4425 vanadium 50.9415
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4426 xenon 131.29
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4427 ytterbium 173.04
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4428 yttrium 88.90585
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4429 zinc 65.39
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4430 zirconium 91.224
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4431
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4432 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4433 # population units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4434 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4435
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4436 people 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4437 person people
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4438 death people
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4439 capita people
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4440 percapita per capita
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4441
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4442
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4443 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4444 # Traditional Japanese units (shakkanhou)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4445 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4446 # The traditional system of weights and measures is called shakkanhou from the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4447 # shaku and the ken. Japan accepted SI units in 1891 and legalized conversions
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4448 # to the traditional system. In 1909 the inch-pound system was also legalized,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4449 # so Japan had three legally approved systems. A change to the metric system
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4450 # started in 1921 but there was a lot of resistance. The Measurement Law of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4451 # October 1999 prohibits sales in anything but SI units. However, the old
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4452 # units still live on in construction and as the basis for paper sizes of books
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4453 # and tools used for handicrafts.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4454 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4455 # Note that units below use the Hepburn romanization system. Some other
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4456 # systems would render "mou", "jou", and "chou" as "mo", "jo" and "cho".
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4457 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4458 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4459 # http://hiramatu-hifuka.com/onyak/onyindx.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4460
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4461 # Japanese Proportions. These are still in everyday use. They also
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4462 # get used as units to represent the proportion of the standard unit.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4463
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4464 wari_proportion 1|10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4465 wari wari_proportion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4466 bu_proportion 1|100 # The character bu can also be read fun or bun
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4467 # but usually "bu" is used for units.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4468 rin_proportion 1|1000
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4469 mou_proportion 1|10000
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4470
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4471
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4472 # Japanese Length Measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4473 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4474 # The length system is called kanejaku or
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4475 # square and originated in China. It was
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4476 # adopted as Japan's official measure in 701
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4477 # by the Taiho Code. This system is still in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4478 # common use in architecture and clothing.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4479
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4480 shaku 1|3.3 m
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4481 mou 1|10000 shaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4482 rin 1|1000 shaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4483 bu_distance 1|100 shaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4484 sun 1|10 shaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4485 jou_distance 10 shaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4486 jou jou_distance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4487
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4488 kanejakusun sun # Alias to emphasize architectural name
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4489 kanejaku shaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4490 kanejakujou jou
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4491
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4492 # In context of clothing, shaku is different from architecture
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4493 # http://www.scinet.co.jp/sci/sanwa/kakizaki-essay54.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4494
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4495 kujirajaku 10|8 shaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4496 kujirajakusun 1|10 kujirajaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4497 kujirajakubu 1|100 kujirajaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4498 kujirajakujou 10 kujirajaku
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4499 tan_distance 3 kujirajakujou
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4500
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4501 ken 6 shaku # Also sometimes 6.3, 6.5, or 6.6
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4502 # http://www.homarewood.co.jp/syakusun.htm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4503
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4504 # mostly unused
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4505 chou_distance 60 ken
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4506 chou chou_distance
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4507 ri 36 chou
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4508
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4509 # Japanese Area Measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4510
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4511 # Tsubo is still used for land size, though the others are more
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4512 # recognized by their homonyms in the other measurements.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4513
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4514 gou_area 1|10 tsubo
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4515 tsubo 36 shaku^2 # Size of two tatami = ken^2 ??
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4516 se 30 tsubo
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4517 tan_area 10 se
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4518 chou_area 10 tan_area
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4519
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4520 # Japanese architecture is based on a "standard" size of tatami mat.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4521 # Room sizes today are given in number of tatami, and this number
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4522 # determines the spacing between colums and hence sizes of sliding
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4523 # doors and paper screens. However, every region has its own slightly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4524 # different tatami size. Edoma, used in and around Tokyo and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4525 # Hokkaido, is becoming a nationwide standard. Kyouma is used around
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4526 # Kyoto, Osaka and Kyuushu, and Chuukyouma is used around Nagoya.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4527 # Note that the tatami all have the aspect ratio 2:1 so that the mats
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4528 # can tile the room with some of them turned 90 degrees.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4529 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4530 # http://www.moon2.net/tatami/infotatami/structure.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4531
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4532 edoma (5.8*2.9) shaku^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4533 kyouma (6.3*3.15) shaku^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4534 chuukyouma (6*3) shaku^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4535 jou_area edoma
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4536 tatami jou_area
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4537
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4538 # Japanese Volume Measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4539
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4540 # The "shou" is still used for such things as alcohol and seasonings.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4541 # Large quantities of paint are still purchased in terms of "to".
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4542
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4543 shaku_volume 1|10 gou_volume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4544 gou_volume 1|10 shou
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4545 gou gou_volume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4546 shou (4.9*4.9*2.7) sun^3 # The character shou which is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4547 # the same as masu refers to a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4548 # rectangular wooden cup used to
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4549 # measure liquids and cereal.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4550 # Sake is sometimes served in a masu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4551 # Note that it happens to be
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4552 # EXACTLY 7^4/11^3 liters.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4553 to 10 shou
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4554 koku 10 to # No longer used; historically a measure of rice
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4555
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4556 # Japanese Weight Measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4557 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4558 # http://wyoming.hp.infoseek.co.jp/zatugaku/zamoney.html
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4559
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4560 # Not really used anymore.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4561
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4562 rin_weight 1|10 bu
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4563 bu_weight 1|10 monme
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4564 fun 1|10 monme
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4565 monme 15|4 g
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4566 kin 160 monme
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4567 kan 1000 monme
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4568 kwan kan # This was the old pronounciation of the unit.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4569 # The old spelling persisted a few centuries
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4570 # longer and was not changed until around
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4571 # 1950.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4572
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4573 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4574 # Australian unit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4575 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4576
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4577 australiasquare (10 ft)^2 # Used for house area
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4578
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4579
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4580 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4581 # A few German units as currently in use.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4582 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4583
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4584 zentner 50 kg
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4585 doppelzentner 2 zentner
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4586 pfund 500 g
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4587
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4588 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4589 # Old French distance measures, from French Weights and Measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4590 # Before the Revolution by Zupko
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4591 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4592
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4593 frenchfoot 144|443.296 m # pied de roi, the standard of Paris.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4594 pied frenchfoot # Half of the hashimicubit,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4595 frenchfeet frenchfoot # instituted by Charlemagne.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4596 frenchinch 1|12 frenchfoot # This exact definition comes from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4597 frenchthumb frenchinch # a law passed on 10 Dec 1799 which
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4598 pouce frenchthumb # fixed the meter at
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4599 # 3 frenchfeet + 11.296 lignes.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4600 frenchline 1|12 frenchinch # This is supposed to be the size
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4601 ligne frenchline # of the average barleycorn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4602 frenchpoint 1|12 frenchline
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4603 toise 6 frenchfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4604 arpent 180^2 pied^2 # The arpent is 100 square perches,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4605 # but the perche seems to vary a lot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4606 # and can be 18 feet, 20 feet, or 22
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4607 # feet. This measure was described
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4608 # as being in common use in Canada in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4609 # 1934 (Websters 2nd). The value
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4610 # given here is the Paris standard
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4611 # arpent.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4612 frenchgrain 1|18827.15 kg # Weight of a wheat grain, hence
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4613 # smaller than the British grain.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4614 frenchpound 9216 frenchgrain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4615
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4616 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4617 # Before the Imperial Weights and Measures Act of 1824, various different
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4618 # weights and measures were in use in different places.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4619 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4620
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4621 # Scots linear measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4622
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4623 scotsinch 1.00540054 UKinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4624 scotslink 1|100 scotschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4625 scotsfoot 12 scotsinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4626 scotsfeet scotsfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4627 scotsell 37 scotsinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4628 scotsfall 6 scotsell
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4629 scotschain 4 scotsfall
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4630 scotsfurlong 10 scotschain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4631 scotsmile 8 scotsfurlong
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4632
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4633 # Scots area measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4634
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4635 scotsrood 40 scotsfall^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4636 scotsacre 4 scotsrood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4637 nook 20 acres # Given in [18] with English acres; apparently
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4638 # developed after the switch to Imperial units.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4639 # Irish linear measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4640
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4641 irishinch UKinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4642 irishpalm 3 irishinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4643 irishspan 3 irishpalm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4644 irishfoot 12 irishinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4645 irishfeet irishfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4646 irishcubit 18 irishinch
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4647 irishyard 3 irishfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4648 irishpace 5 irishfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4649 irishfathom 6 irishfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4650 irishpole 7 irishyard # Only these values
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4651 irishperch irishpole # are different from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4652 irishchain 4 irishperch # the British Imperial
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4653 irishlink 1|100 irishchain # or English values for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4654 irishfurlong 10 irishchain # these lengths.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4655 irishmile 8 irishfurlong #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4656
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4657 # Irish area measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4658
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4659 irishrood 40 irishpole^2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4660 irishacre 4 irishrood
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4661
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4662 # English wine capacity measures (Winchester measures)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4663
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4664 winepint 1|2 winequart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4665 winequart 1|4 winegallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4666 winegallon 231 UKinch^3 # Sometimes called the Winchester Wine Gallon,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4667 # it was legalized in 1707 by Queen Anne, and
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4668 # given the definition of 231 cubic inches. It
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4669 # had been in use for a while as 8 pounds of wine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4670 # using a merchant's pound, but the definition of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4671 # the merchant's pound had become uncertain. A
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4672 # pound of 15 tower ounces (6750 grains) had been
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4673 # common, but then a pound of 15 troy ounces
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4674 # (7200 grains) gained popularity. Because of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4675 # the switch in the value of the merchants pound,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4676 # the size of the wine gallon was uncertain in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4677 # the market, hence the official act in 1707.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4678 # The act allowed that a six inch tall cylinder
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4679 # with a 7 inch diameter was a lawful wine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4680 # gallon. (This comes out to 230.9 in^3.)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4681 # Note also that in Britain a legal conversion
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4682 # was established to the 1824 Imperial gallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4683 # then taken as 277.274 in^3 so that the wine
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4684 # gallon was 0.8331 imperial gallons. This is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4685 # 231.1 cubic inches (using the international
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4686 # inch).
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4687 winerundlet 18 winegallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4688 winebarrel 31.5 winegallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4689 winetierce 42 winegallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4690 winehogshead 2 winebarrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4691 winepuncheon 2 winetierce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4692 winebutt 2 winehogshead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4693 winepipe winebutt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4694 winetun 2 winebutt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4695
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4696 # English beer and ale measures used 1803-1824 and used for beer before 1688
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4697
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4698 beerpint 1|2 beerquart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4699 beerquart 1|4 beergallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4700 beergallon 282 UKinch^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4701 beerbarrel 36 beergallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4702 beerhogshead 1.5 beerbarrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4703
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4704 # English ale measures used from 1688-1803 for both ale and beer
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4705
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4706 alepint 1|2 alequart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4707 alequart 1|4 alegallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4708 alegallon beergallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4709 alebarrel 34 alegallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4710 alehogshead 1.5 alebarrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4711
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4712 # Scots capacity measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4713
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4714 scotsgill 1|4 mutchkin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4715 mutchkin 1|2 choppin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4716 choppin 1|2 scotspint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4717 scotspint 1|2 scotsquart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4718 scotsquart 1|4 scotsgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4719 scotsgallon 827.232 UKinch^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4720 scotsbarrel 8 scotsgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4721 jug scotspint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4722
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4723 # Scots dry capacity measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4724
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4725 scotswheatlippy 137.333 UKinch^3 # Also used for peas, beans, rye, salt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4726 scotswheatlippies scotswheatlippy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4727 scotswheatpeck 4 scotswheatlippy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4728 scotswheatfirlot 4 scotswheatpeck
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4729 scotswheatboll 4 scotswheatfirlot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4730 scotswheatchalder 16 scotswheatboll
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4731
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4732 scotsoatlippy 200.345 UKinch^3 # Also used for barley and malt
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4733 scotsoatlippies scotsoatlippy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4734 scotsoatpeck 4 scotsoatlippy
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4735 scotsoatfirlot 4 scotsoatpeck
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4736 scotsoatboll 4 scotsoatfirlot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4737 scotsoatchalder 16 scotsoatboll
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4738
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4739 # Scots Tron weight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4740
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4741 trondrop 1|16 tronounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4742 tronounce 1|20 tronpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4743 tronpound 9520 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4744 tronstone 16 tronpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4745
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4746 # Irish liquid capacity measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4747
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4748 irishnoggin 1|4 irishpint
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4749 irishpint 1|2 irishquart
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4750 irishquart 1|2 irishpottle
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4751 irishpottle 1|2 irishgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4752 irishgallon 217.6 UKinch^3
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4753 irishrundlet 18 irishgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4754 irishbarrel 31.5 irishgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4755 irishtierce 42 irishgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4756 irishhogshead 2 irishbarrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4757 irishpuncheon 2 irishtierce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4758 irishpipe 2 irishhogshead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4759 irishtun 2 irishpipe
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4760
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4761 # Irish dry capacity measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4762
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4763 irishpeck 2 irishgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4764 irishbushel 4 irishpeck
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4765 irishstrike 2 irishbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4766 irishdrybarrel 2 irishstrike
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4767 irishquarter 2 irishbarrel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4768
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4769 # English Tower weights, abolished in 1528
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4770
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4771 towerpound 5400 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4772 towerounce 1|12 towerpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4773 towerpennyweight 1|20 towerounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4774 towergrain 1|32 towerpennyweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4775
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4776 # English Mercantile weights, used since the late 12th century
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4777
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4778 mercpound 6750 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4779 mercounce 1|15 mercpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4780 mercpennyweight 1|20 mercounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4781
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4782 # English weights for lead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4783
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4784 leadstone 12.5 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4785 fotmal 70 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4786 leadwey 14 leadstone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4787 fothers 12 leadwey
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4788
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4789 # English Hay measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4790
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4791 newhaytruss 60 lb # New and old here seem to refer to "new"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4792 newhayload 36 newhaytruss # hay and "old" hay rather than a new unit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4793 oldhaytruss 56 lb # and an old unit.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4794 oldhayload 36 oldhaytruss
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4795
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4796 # English wool measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4797
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4798 woolclove 7 lb
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4799 woolstone 2 woolclove
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4800 wooltod 2 woolstone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4801 woolwey 13 woolstone
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4802 woolsack 2 woolwey
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4803 woolsarpler 2 woolsack
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4804 woollast 6 woolsarpler
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4805
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4806 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4807 # Ancient history units: There tends to be uncertainty in the definitions
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4808 # of the units in this section
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4809 # These units are from [11]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4810
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4811 # Roman measure. The Romans had a well defined distance measure, but their
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4812 # measures of weight were poor. They adopted local weights in different
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4813 # regions without distinguishing among them so that there are half a dozen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4814 # different Roman "standard" weight systems.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4815
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4816 romanfoot 296 mm # There is some uncertainty in this definition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4817 romanfeet romanfoot # from which all the other units are derived.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4818 pes romanfoot # This value appears in numerous sources. In "The
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4819 pedes romanfoot # Roman Land Surveyors", Dilke gives 295.7 mm.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4820 romaninch 1|12 romanfoot # The subdivisions of the Roman foot have the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4821 romandigit 1|16 romanfoot # same names as the subdivisions of the pound,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4822 romanpalm 1|4 romanfoot # but we can't have the names for different
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4823 romancubit 18 romaninch # units.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4824 romanpace 5 romanfeet # Roman double pace (basic military unit)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4825 passus romanpace
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4826 romanperch 10 romanfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4827 stade 125 romanpaces
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4828 stadia stade
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4829 stadium stade
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4830 romanmile 8 stadia # 1000 paces
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4831 romanleague 1.5 romanmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4832 schoenus 4 romanmile
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4833
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4834 # Other values for the Roman foot (from Dilke)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4835
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4836 earlyromanfoot 29.73 cm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4837 pesdrusianus 33.3 cm # or 33.35 cm, used in Gaul & Germany in 1st c BC
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4838 lateromanfoot 29.42 cm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4839
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4840 # Roman areas
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4841
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4842 actuslength 120 romanfeet # length of a Roman furrow
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4843 actus 120*4 romanfeet^2 # area of the furrow
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4844 squareactus 120^2 romanfeet^2 # actus quadratus
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4845 acnua squareactus
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4846 iugerum 2 squareactus
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4847 iugera iugerum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4848 jugerum iugerum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4849 jugera iugerum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4850 heredium 2 iugera # heritable plot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4851 heredia heredium
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4852 centuria 100 heredia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4853 centurium centuria
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4854
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4855 # Roman volumes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4856
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4857 sextarius 35.4 in^3 # Basic unit of Roman volume. As always,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4858 sextarii sextarius # there is uncertainty. Six large Roman
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4859 # measures survive with volumes ranging from
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4860 # 34.4 in^3 to 39.55 in^3. Three of them
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4861 # cluster around the size given here.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4862 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4863 # But the values for this unit vary wildly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4864 # in other sources. One reference gives 0.547
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4865 # liters, but then says the amphora is a
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4866 # cubic Roman foot. This gives a value for the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4867 # sextarius of 0.540 liters. And the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4868 # encyclopedia Brittanica lists 0.53 liters for
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4869 # this unit. Both [7] and [11], which were
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4870 # written by scholars of weights and measures,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4871 # give the value of 35.4 cubic inches.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4872 cochlearia 1|48 sextarius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4873 cyathi 1|12 sextarius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4874 acetabula 1|8 sextarius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4875 quartaria 1|4 sextarius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4876 quartarius quartaria
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4877 heminae 1|2 sextarius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4878 hemina heminae
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4879 cheonix 1.5 sextarii
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4880
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4881 # Dry volume measures (usually)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4882
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4883 semodius 8 sextarius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4884 semodii semodius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4885 modius 16 sextarius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4886 modii modius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4887
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4888 # Liquid volume measures (usually)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4889
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4890 congius 12 heminae
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4891 congii congius
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4892 amphora 8 congii
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4893 amphorae amphora # Also a dry volume measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4894 culleus 20 amphorae
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4895 quadrantal amphora
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4896
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4897 # Roman weights
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4898
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4899 libra 5052 grain # The Roman pound varied significantly
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4900 librae libra # from 4210 grains to 5232 grains. Most of
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4901 romanpound libra # the standards were obtained from the weight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4902 uncia 1|12 libra # of particular coins. The one given here is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4903 unciae uncia # based on the Gold Aureus of Augustus which
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4904 romanounce uncia # was in use from BC 27 to AD 296.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4905 deunx 11 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4906 dextans 10 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4907 dodrans 9 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4908 bes 8 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4909 seprunx 7 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4910 semis 6 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4911 quincunx 5 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4912 triens 4 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4913 quadrans 3 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4914 sextans 2 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4915 sescuncia 1.5 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4916 semuncia 1|2 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4917 siscilius 1|4 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4918 sextula 1|6 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4919 semisextula 1|12 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4920 scriptulum 1|24 uncia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4921 scrupula scriptulum
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4922 romanobol 1|2 scrupula
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4923
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4924 romanaspound 4210 grain # Old pound based on bronze coinage, the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4925 # earliest money of Rome BC 338 to BC 268.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4926
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4927 # Egyptian length measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4928
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4929 egyptianroyalcubit 20.63 in # plus or minus .2 in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4930 egyptianpalm 1|7 egyptianroyalcubit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4931 egyptiandigit 1|4 egyptianpalm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4932 egyptianshortcubit 6 egyptianpalm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4933
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4934 doubleremen 29.16 in # Length of the diagonal of a square with
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4935 remendigit 1|40 doubleremen # side length of 1 royal egyptian cubit.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4936 # This is divided into 40 digits which are
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4937 # not the same size as the digits based on
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4938 # the royal cubit.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4939
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4940 # Greek length measures
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4941
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4942 greekfoot 12.45 in # Listed as being derived from the
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4943 greekfeet greekfoot # Egyptian Royal cubit in [11]. It is
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4944 greekcubit 1.5 greekfoot # said to be 3|5 of a 20.75 in cubit.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4945 pous greekfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4946 podes greekfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4947 orguia 6 greekfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4948 greekfathom orguia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4949 stadion 100 orguia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4950 akaina 10 greekfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4951 plethron 10 akaina
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4952 greekfinger 1|16 greekfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4953 homericcubit 20 greekfingers # Elbow to end of knuckles.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4954 shortgreekcubit 18 greekfingers # Elbow to start of fingers.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4955
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4956 ionicfoot 296 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4957 doricfoot 326 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4958
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4959 olympiccubit 25 remendigit # These olympic measures were not as
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4960 olympicfoot 2|3 olympiccubit # common as the other greek measures.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4961 olympicfinger 1|16 olympicfoot # They were used in agriculture.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4962 olympicfeet olympicfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4963 olympicdakylos olympicfinger
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4964 olympicpalm 1|4 olympicfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4965 olympicpalestra olympicpalm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4966 olympicspithame 3|4 foot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4967 olympicspan olympicspithame
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4968 olympicbema 2.5 olympicfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4969 olympicpace olympicbema
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4970 olympicorguia 6 olympicfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4971 olympicfathom olympicorguia
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4972 olympiccord 60 olympicfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4973 olympicamma olympiccord
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4974 olympicplethron 100 olympicfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4975 olympicstadion 600 olympicfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4976
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4977 # Greek capacity measure
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4978
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4979 greekkotyle 270 ml # This approximate value is obtained
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4980 xestes 2 greekkotyle # from two earthenware vessels that
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4981 khous 12 greekkotyle # were reconstructed from fragments.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4982 metretes 12 khous # The kotyle is a day's corn ration
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4983 choinix 4 greekkotyle # for one man.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4984 hekteos 8 choinix
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4985 medimnos 6 hekteos
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4986
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4987 # Greek weight. Two weight standards were used, an Aegina standard based
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4988 # on the Beqa shekel and an Athens (attic) standard.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4989
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4990 aeginastater 192 grain # Varies up to 199 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4991 aeginadrachmae 1|2 aeginastater
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4992 aeginaobol 1|6 aeginadrachmae
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4993 aeginamina 50 aeginastaters
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4994 aeginatalent 60 aeginamina # Supposedly the mass of a cubic foot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4995 # of water (whichever foot was in use)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4996
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4997 atticstater 135 grain # Varies 134-138 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4998 atticdrachmae 1|2 atticstater
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4999 atticobol 1|6 atticdrachmae
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5000 atticmina 50 atticstaters
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5001 attictalent 60 atticmina # Supposedly the mass of a cubic foot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5002 # of water (whichever foot was in use)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5003
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5004 # "Northern" cubit and foot. This was used by the pre-Aryan civilization in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5005 # the Indus valley. It was used in Mesopotamia, Egypt, North Africa, China,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5006 # central and Western Europe until modern times when it was displaced by
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5007 # the metric system.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5008
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5009 northerncubit 26.6 in # plus/minus .2 in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5010 northernfoot 1|2 northerncubit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5011
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5012 sumeriancubit 495 mm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5013 kus sumeriancubit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5014 sumerianfoot 2|3 sumeriancubit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5015
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5016 assyriancubit 21.6 in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5017 assyrianfoot 1|2 assyriancubit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5018 assyrianpalm 1|3 assyrianfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5019 assyriansusi 1|20 assyrianpalm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5020 susi assyriansusi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5021 persianroyalcubit 7 assyrianpalm
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5022
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5023
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5024 # Arabic measures. The arabic standards were meticulously kept. Glass weights
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5025 # accurate to .2 grains were made during AD 714-900.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5026
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5027 hashimicubit 25.56 in # Standard of linear measure used
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5028 # in Persian dominions of the Arabic
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5029 # empire 7-8th cent. Is equal to two
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5030 # French feet.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5031
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5032 blackcubit 21.28 in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5033 arabicfeet 1|2 blackcubit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5034 arabicfoot arabicfeet
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5035 arabicinch 1|12 arabicfoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5036 arabicmile 4000 blackcubit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5037
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5038 silverdirhem 45 grain # The weights were derived from these two
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5039 tradedirhem 48 grain # units with two identically named systems
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5040 # used for silver and used for trade purposes
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5041
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5042 silverkirat 1|16 silverdirhem
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5043 silverwukiyeh 10 silverdirhem
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5044 silverrotl 12 silverwukiyeh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5045 arabicsilverpound silverrotl
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5046
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5047 tradekirat 1|16 tradedirhem
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5048 tradewukiyeh 10 tradedirhem
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5049 traderotl 12 tradewukiyeh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5050 arabictradepound traderotl
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5051
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5052 # Miscellaneous ancient units
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5053
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5054 parasang 3.5 mile # Persian unit of length usually thought
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5055 # to be between 3 and 3.5 miles
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5056 biblicalcubit 21.8 in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5057 hebrewcubit 17.58 in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5058 li 10|27.8 mile # Chinese unit of length
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5059 # 100 li is considered a day's march
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5060 liang 11|3 oz # Chinese weight unit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5061
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5062
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5063 # Medieval time units. According to the OED, these appear in Du Cange
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5064 # by Papias.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5065
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5066 timepoint 1|5 hour # also given as 1|4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5067 timeminute 1|10 hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5068 timeostent 1|60 hour
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5069 timeounce 1|8 timeostent
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5070 timeatom 1|47 timeounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5071
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5072 # Given in [15], these subdivisions of the grain were supposedly used
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5073 # by jewelers. The mite may have been used but the blanc could not
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5074 # have been accurately measured.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5075
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5076 mite 1|20 grain
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5077 droit 1|24 mite
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5078 periot 1|20 droit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5079 blanc 1|24 periot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5080
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5081 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5082 # Some definitions using ISO 8859-1 characters
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5083 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5084
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5085 ¼- 1|4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5086 ½- 1|2
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5087 ¾- 3|4
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5088 µ- micro
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5089 ¢ cent
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5090 £ britainpound
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5091 ¥ japanyen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5092 ångström angstrom
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5093 Å angstrom
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5094 röntgen roentgen
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5095 °C degC
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5096 °F degF
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5097 °K K # °K is incorrect notation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5098 °R degR
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5099 ° degree
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5100
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5101 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5102 # Localisation
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5103 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5104
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5105 !locale en_US
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5106 hundredweight ushundredweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5107 ton uston
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5108 scruple apscruple
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5109 fluidounce usfluidounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5110 gallon usgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5111 bushel usbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5112 quarter quarterweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5113 cup uscup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5114 tablespoon ustablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5115 teaspoon usteaspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5116 horsepower ushorsepower
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5117 dollar US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5118 cent $ 0.01
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5119 penny cent
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5120 minim minimvolume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5121 pony ponyvolume
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5122 grand usgrand
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5123 firkin usfirkin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5124 hogshead ushogshead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5125 acre usacre
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5126 acrefoot usacrefoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5127 !endlocale
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5128
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5129 !locale en_GB
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5130 hundredweight brhundredweight
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5131 ton brton
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5132 scruple brscruple
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5133 fluidounce brfluidounce
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5134 gallon brgallon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5135 bushel brbushel
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5136 quarter brquarter
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5137 chaldron brchaldron
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5138 cup brcup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5139 teacup brteacup
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5140 tablespoon brtablespoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5141 teaspoon brteaspoon
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5142 horsepower brhorsepower
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5143 dollar US$
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5144 cent $ 0.01
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5145 penny brpenny
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5146 minim minimnote
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5147 pony brpony
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5148 grand brgrand
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5149 firkin brfirkin
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5150 hogshead brhogshead
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5151 acre intacre
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5152 acrefoot intacrefoot
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5153 !endlocale
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5154
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5155 ############################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5156 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5157 # The following units were in the unix units database but do not appear in
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5158 # this file:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5159 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5160 # wey used for cheese, salt and other goods. Measured mass or
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5161 # waymass volume depending on what was measured and where the measuring
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5162 # took place. A wey of cheese ranged from 200 to 324 pounds.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5163 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5164 # sack No precise definition
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5165 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5166 # spindle The length depends on the type of yarn
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5167 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5168 # block Defined variously on different computer systems
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5169 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5170 # erlang A unit of telephone traffic defined variously.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5171 # Omitted because there are no other units for this
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5172 # dimension. Is this true? What about CCS = 1/36 erlang?
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5173 # Erlang is supposed to be dimensionless. One erlang means
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5174 # a single channel occupied for one hour.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5175 #
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5176 ############################################################################
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5177
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5178
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5179
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5180
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5181 beardsecond 5 nanometers