Annotation of loncom/homework/capa.units, revision 1.17

1.5       albertel    1: # The LearningOnline Network with CAPA
                      2: # Physical Unit definitions
                      3: #
1.17    ! www         4: # $Id: capa.units,v 1.16 2008/03/06 01:54:16 www 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
1.11      albertel   56: deca             D         10^1
1.1       albertel   57: 
                     58: deci             d         10^-1
                     59: centi            c         10^-2
                     60: milli            m         10^-3
                     61: micro            u         10^-6
                     62: nano             n         10^-9
                     63: pico             p         10^{-12}
                     64: femto            f         10^{-15}
                     65: atto             a         10^{-18}
                     66: zepto            z         10^{-21}
                     67: yocto            y         10^{-24}
                     68: 
                     69: 
                     70: 
                     71: 
                     72: # Derived Unit
                     73: # name       symbol     unit          comment
                     74: # name must be in oneword
                     75: <<Derived Unit>>
                     76: 
                     77: gram            g      0.001 kg      # mass
1.12      albertel   78: minute          min    60 s          # time
                     79: hour            hr     3600. s       # time
                     80: hour            h      3600. s       # time
1.3       albertel   81: day             day    24.0 hr       # time
1.9       albertel   82: day             days   24.0 hr       # time
1.3       albertel   83: year            yr     365.24 day    # time
1.1       albertel   84: pound           lb     0.45359237 kg # mass
1.7       albertel   85: ounce   	oz     2.83495E-2 kg # mass
1.1       albertel   86: inch            in     2.54 cm       # length
                     87: foot            ft     12 in         # length
                     88: mile            mi     5280 ft       # length
                     89: yard            yd     0.9144 m      # length
                     90: nautical_mile   n_mi   6080 ft       # length, nautical mile (UK)
                     91: rood            rood   1210 yd^2     # area, rood
                     92: acre            acre   4840 yd^2     # area, acre
                     93: hertz           Hz     1/s           # frequency
1.2       albertel   94: litre           L      10^3*cm^3     # volume
1.1       albertel   95: newton          N      m*kg/s^2      # force
                     96: pound_force     lbf    4.44822 N     # force
                     97: dyne            dyn    1E-5 N        # force
                     98: pascal          Pa     N/m^2           # pressure, stress
                     99: bar             bar    1E5 Pa          # pressure
                    100: mmHg            mmHg   1.33322E2 Pa    # pressure, millimeter of mercury
                    101: torr            torr   1 mmHg          # pressure
                    102: atm             atm    760 torr        # standard atmosphere
                    103: joule           J      N*m             # energy, work, heat
                    104: electronvolt    eV     1.6021892E-19 J # energy
                    105: calorie         cal    4.1868 J        # energy
                    106: Btu             Btu    1.05506E3 J     # energy
                    107: watt            W      J/s             # power, radiant flux
                    108: coulomb         C      A*s             # electric charge
                    109: volt            V      J/C           # electric potential, electromotive force
                    110: ohm             ohm    V/A           # electric resistance, use this in /ANS
                    111: ohm             ohms   V/A           # electric resistance
                    112: ohm             Ohm    V/A           # electric resistance
                    113: ohm             Ohms   V/A           # electric resistance
1.10      albertel  114: mho             mho    1/ohm         # electric conductance
                    115: mho             mhos   1/ohm         # electric conductance
                    116: mho             Mho    1/ohm         # electric conductance
                    117: mho             Mhos   1/ohm         # electric conductance
1.1       albertel  118: siemens         S      1/Ohm         # electric conductance
                    119: farad           F      C/V           # electric capacitance
                    120: tesla           T      V*s/m^2       # magnetic flux density
                    121: weber           Wb     V*s           # magnetic flux
                    122: henry           H      V*s/A         # inductance
                    123: radian          rad    m/m            # plane angle
                    124: degree          deg    1.745329E-2 rad # plane angle (Pi rad=180 deg)
                    125: steradian       sr     m^2 /m^2        # solid angle
                    126: lumen           lm     cd*sr         # luminous flux
                    127: lux             lx     cd*sr/m^2     # illuminance
                    128: becquerel       Bq     1/s           # activity (radioactive)
1.15      albertel  129: curie           Ci     3.70E10 Bq    # activity (radioactive)
1.1       albertel  130: gray            Gy     J/kg          # absorbed dose (of radiation)
                    131: sievert         Sv     J/kg          # dose equivalent (dose equivalent index)
                    132: astroUnit       AU     1.49598E11 m  # mean distance earth to sun
1.4       albertel  133: celcius         degC   1 K           # multiplicatively OK
1.17    ! www       134: fahrenheit	degF   0.555555555 K # multiplicatively OK
1.8       albertel  135: molarity        M      mol/L         # chemisty
1.13      albertel  136: amu             amu    1.66053873e-27 kg # atomic mass unit
1.14      albertel  137: amu             u      1.66053873e-27 kg # atomic mass unit
1.16      www       138: lightspeed      c      299792458 m/s     # speed of light
                    139: cubiccentimeter cc     cm^3              # cubic centimeter
                    140: electroncharge  e      1.6021892E-19 C   # elementary charge
                    141: hbar            hbar   1.05457148E-34 m^2*kg/s # Planck constant
                    142: milesperhour    mph    0.44704 m/s   # miles per hour
                    143: rpm             rpm    0.0166666667/s  # rounds per minute
                    144: rpm             rpms   0.0166666667/s  # rounds per minute
                    145: parsec          pc     3.08568025E16 m   # parsec

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>