Annotation of loncom/homework/capa.units, revision 1.5
1.5 ! albertel 1: # The LearningOnline Network with CAPA
! 2: # Physical Unit definitions
! 3: #
! 4: # $Id: gplheader.pl,v 1.1 2001/11/29 18:19:27 www Exp $
! 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
42:
43: # Prefix symbol factor
44: << Prefix >>
45:
46: yotta Y 10^{24}
47: zetta Z 10^{21}
48: exa E 10^{18}
49: peta P 10^{15}
50: tera T 10^{12}
51: giga G 10^9
52: mega M 10^6
53: kilo k 10^3
54: hecto h 10^2
55:
56: deci d 10^-1
57: centi c 10^-2
58: milli m 10^-3
59: micro u 10^-6
60: nano n 10^-9
61: pico p 10^{-12}
62: femto f 10^{-15}
63: atto a 10^{-18}
64: zepto z 10^{-21}
65: yocto y 10^{-24}
66:
67:
68:
69:
70: # Derived Unit
71: # name symbol unit comment
72: # name must be in oneword
73: <<Derived Unit>>
74:
75: gram g 0.001 kg # mass
1.3 albertel 76: day day 24.0 hr # time
77: year yr 365.24 day # time
1.1 albertel 78: hour hr 3600. s # time
79: minute min 60 s # time
80: pound lb 0.45359237 kg # mass
81: ounce oz 1.77185E-3 kg # mass
82: inch in 2.54 cm # length
83: foot ft 12 in # length
84: mile mi 5280 ft # length
85: yard yd 0.9144 m # length
86: nautical_mile n_mi 6080 ft # length, nautical mile (UK)
87: rood rood 1210 yd^2 # area, rood
88: acre acre 4840 yd^2 # area, acre
89: hertz Hz 1/s # frequency
1.2 albertel 90: litre L 10^3*cm^3 # volume
1.1 albertel 91: newton N m*kg/s^2 # force
92: pound_force lbf 4.44822 N # force
93: dyne dyn 1E-5 N # force
94: pascal Pa N/m^2 # pressure, stress
95: bar bar 1E5 Pa # pressure
96: mmHg mmHg 1.33322E2 Pa # pressure, millimeter of mercury
97: torr torr 1 mmHg # pressure
98: atm atm 760 torr # standard atmosphere
99: joule J N*m # energy, work, heat
100: electronvolt eV 1.6021892E-19 J # energy
101: calorie cal 4.1868 J # energy
102: Btu Btu 1.05506E3 J # energy
103: watt W J/s # power, radiant flux
104: coulomb C A*s # electric charge
105: volt V J/C # electric potential, electromotive force
106: ohm ohm V/A # electric resistance, use this in /ANS
107: ohm ohms V/A # electric resistance
108: ohm Ohm V/A # electric resistance
109: ohm Ohms V/A # electric resistance
110: siemens S 1/Ohm # electric conductance
111: farad F C/V # electric capacitance
112: tesla T V*s/m^2 # magnetic flux density
113: weber Wb V*s # magnetic flux
114: henry H V*s/A # inductance
115: radian rad m/m # plane angle
116: degree deg 1.745329E-2 rad # plane angle (Pi rad=180 deg)
117: steradian sr m^2 /m^2 # solid angle
118: lumen lm cd*sr # luminous flux
119: lux lx cd*sr/m^2 # illuminance
120: becquerel Bq 1/s # activity (radioactive)
121: gray Gy J/kg # absorbed dose (of radiation)
122: sievert Sv J/kg # dose equivalent (dose equivalent index)
123: astroUnit AU 1.49598E11 m # mean distance earth to sun
1.4 albertel 124: celcius degC 1 K # multiplicatively OK
125: farenheight degF .5555555555 K # multiplicatively OK
1.1 albertel 126:
127:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>