Annotation of loncom/homework/capa.units, revision 1.4
1.1 albertel 1: #
2: # ======================= Unit section =============
3: # Base Unit
4: # name symbol comment
5:
6: << Base Unit >>
7:
8: meter m # length
9: kilogram kg # mass
10: second s # time
11: ampere A # electric current
12: kelvin K # thermodynamic temperature
13: mole mol # amount of substance
14: candela cd # luminous intensity
15:
16: # Prefix symbol factor
17: << Prefix >>
18:
19: yotta Y 10^{24}
20: zetta Z 10^{21}
21: exa E 10^{18}
22: peta P 10^{15}
23: tera T 10^{12}
24: giga G 10^9
25: mega M 10^6
26: kilo k 10^3
27: hecto h 10^2
28:
29: deci d 10^-1
30: centi c 10^-2
31: milli m 10^-3
32: micro u 10^-6
33: nano n 10^-9
34: pico p 10^{-12}
35: femto f 10^{-15}
36: atto a 10^{-18}
37: zepto z 10^{-21}
38: yocto y 10^{-24}
39:
40:
41:
42:
43: # Derived Unit
44: # name symbol unit comment
45: # name must be in oneword
46: <<Derived Unit>>
47:
48: gram g 0.001 kg # mass
1.3 albertel 49: day day 24.0 hr # time
50: year yr 365.24 day # time
1.1 albertel 51: hour hr 3600. s # time
52: minute min 60 s # time
53: pound lb 0.45359237 kg # mass
54: ounce oz 1.77185E-3 kg # mass
55: inch in 2.54 cm # length
56: foot ft 12 in # length
57: mile mi 5280 ft # length
58: yard yd 0.9144 m # length
59: nautical_mile n_mi 6080 ft # length, nautical mile (UK)
60: rood rood 1210 yd^2 # area, rood
61: acre acre 4840 yd^2 # area, acre
62: hertz Hz 1/s # frequency
1.2 albertel 63: litre L 10^3*cm^3 # volume
1.1 albertel 64: newton N m*kg/s^2 # force
65: pound_force lbf 4.44822 N # force
66: dyne dyn 1E-5 N # force
67: pascal Pa N/m^2 # pressure, stress
68: bar bar 1E5 Pa # pressure
69: mmHg mmHg 1.33322E2 Pa # pressure, millimeter of mercury
70: torr torr 1 mmHg # pressure
71: atm atm 760 torr # standard atmosphere
72: joule J N*m # energy, work, heat
73: electronvolt eV 1.6021892E-19 J # energy
74: calorie cal 4.1868 J # energy
75: Btu Btu 1.05506E3 J # energy
76: watt W J/s # power, radiant flux
77: coulomb C A*s # electric charge
78: volt V J/C # electric potential, electromotive force
79: ohm ohm V/A # electric resistance, use this in /ANS
80: ohm ohms V/A # electric resistance
81: ohm Ohm V/A # electric resistance
82: ohm Ohms V/A # electric resistance
83: siemens S 1/Ohm # electric conductance
84: farad F C/V # electric capacitance
85: tesla T V*s/m^2 # magnetic flux density
86: weber Wb V*s # magnetic flux
87: henry H V*s/A # inductance
88: radian rad m/m # plane angle
89: degree deg 1.745329E-2 rad # plane angle (Pi rad=180 deg)
90: steradian sr m^2 /m^2 # solid angle
91: lumen lm cd*sr # luminous flux
92: lux lx cd*sr/m^2 # illuminance
93: becquerel Bq 1/s # activity (radioactive)
94: gray Gy J/kg # absorbed dose (of radiation)
95: sievert Sv J/kg # dose equivalent (dose equivalent index)
96: astroUnit AU 1.49598E11 m # mean distance earth to sun
1.4 ! albertel 97: celcius degC 1 K # multiplicatively OK
! 98: farenheight degF .5555555555 K # multiplicatively OK
1.1 albertel 99:
100:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>