File:  [LON-CAPA] / loncom / homework / capa.units
Revision 1.17: download - view: text, annotated - select for diffs
Wed Jun 8 20:29:04 2011 UTC (12 years, 10 months ago) by www
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, HEAD, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
degF was not working (and mispelled, too)

    1: # The LearningOnline Network with CAPA
    2: # Physical Unit definitions
    3: #
    4: # $Id: capa.units,v 1.17 2011/06/08 20:29:04 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: #
   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: curie           Ci     3.70E10 Bq    # activity (radioactive)
  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
  133: celcius         degC   1 K           # multiplicatively OK
  134: fahrenheit	degF   0.555555555 K # multiplicatively OK
  135: molarity        M      mol/L         # chemisty
  136: amu             amu    1.66053873e-27 kg # atomic mass unit
  137: amu             u      1.66053873e-27 kg # atomic mass unit
  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>