Annotation of loncom/homework/capa.units, revision 1.9
1.5 albertel 1: # The LearningOnline Network with CAPA
2: # Physical Unit definitions
3: #
1.9 ! albertel 4: # $Id: capa.units,v 1.8 2003/01/31 22:15:58 albertel Exp $
1.5 albertel 5: #
6: # Copyright Michigan State University Board of Trustees
7: #
8: # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
9: #
10: # LON-CAPA is free software; you can redistribute it and/or modify
11: # it under the terms of the GNU General Public License as published by
12: # the Free Software Foundation; either version 2 of the License, or
13: # (at your option) any later version.
14: #
15: # LON-CAPA is distributed in the hope that it will be useful,
16: # but WITHOUT ANY WARRANTY; without even the implied warranty of
17: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18: # GNU General Public License for more details.
19: #
20: # You should have received a copy of the GNU General Public License
21: # along with LON-CAPA; if not, write to the Free Software
22: # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23: #
24: # /home/httpd/html/adm/gpl.txt
25: #
26: # http://www.lon-capa.org/
27: #
1.1 albertel 28: #
29: # ======================= Unit section =============
30: # Base Unit
31: # name symbol comment
32:
33: << Base Unit >>
34:
35: meter m # length
36: kilogram kg # mass
37: second s # time
38: ampere A # electric current
39: kelvin K # thermodynamic temperature
40: mole mol # amount of substance
41: candela cd # luminous intensity
1.6 albertel 42: decibel dB # log of pressure amplitude
1.1 albertel 43:
44: # Prefix symbol factor
45: << Prefix >>
46:
47: yotta Y 10^{24}
48: zetta Z 10^{21}
49: exa E 10^{18}
50: peta P 10^{15}
51: tera T 10^{12}
52: giga G 10^9
53: mega M 10^6
54: kilo k 10^3
55: hecto h 10^2
56:
57: deci d 10^-1
58: centi c 10^-2
59: milli m 10^-3
60: micro u 10^-6
61: nano n 10^-9
62: pico p 10^{-12}
63: femto f 10^{-15}
64: atto a 10^{-18}
65: zepto z 10^{-21}
66: yocto y 10^{-24}
67:
68:
69:
70:
71: # Derived Unit
72: # name symbol unit comment
73: # name must be in oneword
74: <<Derived Unit>>
75:
76: gram g 0.001 kg # mass
1.3 albertel 77: day day 24.0 hr # time
1.9 ! albertel 78: day days 24.0 hr # time
1.3 albertel 79: year yr 365.24 day # time
1.1 albertel 80: hour hr 3600. s # time
1.6 albertel 81: hour h 3600. s # time
1.1 albertel 82: minute min 60 s # time
83: pound lb 0.45359237 kg # mass
1.7 albertel 84: ounce oz 2.83495E-2 kg # mass
1.1 albertel 85: inch in 2.54 cm # length
86: foot ft 12 in # length
87: mile mi 5280 ft # length
88: yard yd 0.9144 m # length
89: nautical_mile n_mi 6080 ft # length, nautical mile (UK)
90: rood rood 1210 yd^2 # area, rood
91: acre acre 4840 yd^2 # area, acre
92: hertz Hz 1/s # frequency
1.2 albertel 93: litre L 10^3*cm^3 # volume
1.1 albertel 94: newton N m*kg/s^2 # force
95: pound_force lbf 4.44822 N # force
96: dyne dyn 1E-5 N # force
97: pascal Pa N/m^2 # pressure, stress
98: bar bar 1E5 Pa # pressure
99: mmHg mmHg 1.33322E2 Pa # pressure, millimeter of mercury
100: torr torr 1 mmHg # pressure
101: atm atm 760 torr # standard atmosphere
102: joule J N*m # energy, work, heat
103: electronvolt eV 1.6021892E-19 J # energy
104: calorie cal 4.1868 J # energy
105: Btu Btu 1.05506E3 J # energy
106: watt W J/s # power, radiant flux
107: coulomb C A*s # electric charge
108: volt V J/C # electric potential, electromotive force
109: ohm ohm V/A # electric resistance, use this in /ANS
110: ohm ohms V/A # electric resistance
111: ohm Ohm V/A # electric resistance
112: ohm Ohms V/A # electric resistance
113: siemens S 1/Ohm # electric conductance
114: farad F C/V # electric capacitance
115: tesla T V*s/m^2 # magnetic flux density
116: weber Wb V*s # magnetic flux
117: henry H V*s/A # inductance
118: radian rad m/m # plane angle
119: degree deg 1.745329E-2 rad # plane angle (Pi rad=180 deg)
120: steradian sr m^2 /m^2 # solid angle
121: lumen lm cd*sr # luminous flux
122: lux lx cd*sr/m^2 # illuminance
123: becquerel Bq 1/s # activity (radioactive)
124: gray Gy J/kg # absorbed dose (of radiation)
125: sievert Sv J/kg # dose equivalent (dose equivalent index)
126: astroUnit AU 1.49598E11 m # mean distance earth to sun
1.4 albertel 127: celcius degC 1 K # multiplicatively OK
128: farenheight degF .5555555555 K # multiplicatively OK
1.8 albertel 129: molarity M mol/L # chemisty
1.1 albertel 130:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>