File:  [LON-CAPA] / loncom / homework / capa.units
Revision 1.14: download - view: text, annotated - select for diffs
Mon Jun 6 22:21:38 2005 UTC (18 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1, version_1_99_0, HEAD
- adding unit 'u' (synonym for amu)
- adding units to the help file

    1: # The LearningOnline Network with CAPA
    2: # Physical Unit definitions
    3: #
    4: # $Id: capa.units,v 1.14 2005/06/06 22:21:38 albertel 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: #
   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: decibel         dB     # log of pressure amplitude
   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: deca             D         10^1
   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
   78: minute          min    60 s          # time
   79: hour            hr     3600. s       # time
   80: hour            h      3600. s       # time
   81: day             day    24.0 hr       # time
   82: day             days   24.0 hr       # time
   83: year            yr     365.24 day    # time
   84: pound           lb     0.45359237 kg # mass
   85: ounce   	oz     2.83495E-2 kg # mass
   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
   94: litre           L      10^3*cm^3     # volume
   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
  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
  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)
  129: gray            Gy     J/kg          # absorbed dose (of radiation)
  130: sievert         Sv     J/kg          # dose equivalent (dose equivalent index)
  131: astroUnit       AU     1.49598E11 m  # mean distance earth to sun
  132: celcius         degC   1 K           # multiplicatively OK
  133: farenheight     degF   .5555555555 K # multiplicatively OK
  134: molarity        M      mol/L         # chemisty
  135: amu             amu    1.66053873e-27 kg # atomic mass unit
  136: amu             u      1.66053873e-27 kg # atomic mass unit
  137: 

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