Annotation of loncom/homework/units.json, revision 1.1

1.1     ! damieng     1: {
        !             2:     "base": [
        !             3:         { "name": "meter",    "symbol": "m",   "comment": "length" },
        !             4:         { "name": "kilogram", "symbol": "kg",  "comment": "mass" },
        !             5:         { "name": "second",   "symbol": "s",   "comment": "time" },
        !             6:         { "name": "ampere",   "symbol": "A",   "comment": "electric current" },
        !             7:         { "name": "kelvin",   "symbol": "K",   "comment": "thermodynamic temperature" },
        !             8:         { "name": "mole",     "symbol": "mol", "comment": "amount of substance" },
        !             9:         { "name": "candela",  "symbol": "cd",  "comment": "luminous intensity" },
        !            10:         { "name": "decibel",  "symbol": "dB",  "comment": "log of pressure amplitude" }
        !            11:     ],
        !            12:     
        !            13:     "prefix": [
        !            14:         { "name": "yotta", "symbol": "Y", "factor": "10^24" },
        !            15:         { "name": "zetta", "symbol": "Z", "factor": "10^21" },
        !            16:         { "name": "exa",   "symbol": "E", "factor": "10^18" },
        !            17:         { "name": "peta",  "symbol": "P", "factor": "10^15" },
        !            18:         { "name": "tera",  "symbol": "T", "factor": "10^12" },
        !            19:         { "name": "giga",  "symbol": "G", "factor": "10^9" },
        !            20:         { "name": "mega",  "symbol": "M", "factor": "10^6" },
        !            21:         { "name": "kilo",  "symbol": "k", "factor": "10^3" },
        !            22:         { "name": "hecto", "symbol": "h", "factor": "10^2" },
        !            23:         { "name": "deca",  "symbol": "D", "factor": "10^1" },
        !            24:         
        !            25:         { "name": "deci",  "symbol": "d", "factor": "10^-1" },
        !            26:         { "name": "centi", "symbol": "c", "factor": "10^-2" },
        !            27:         { "name": "milli", "symbol": "m", "factor": "10^-3" },
        !            28:         { "name": "micro", "symbol": "u", "factor": "10^-6" },
        !            29:         { "name": "micro", "symbol": "µ", "factor": "10^-6", "comment": "micro sign character 00B5" },
        !            30:         { "name": "micro", "symbol": "μ", "factor": "10^-6", "comment": "greek mu character 03BC" },
        !            31:         { "name": "nano",  "symbol": "n", "factor": "10^-9" },
        !            32:         { "name": "pico",  "symbol": "p", "factor": "10^-12" },
        !            33:         { "name": "femto", "symbol": "f", "factor": "10^-15" },
        !            34:         { "name": "atto",  "symbol": "a", "factor": "10^-18" },
        !            35:         { "name": "zepto", "symbol": "z", "factor": "10^-21" },
        !            36:         { "name": "yocto", "symbol": "y", "factor": "10^-24" }
        !            37:     ],
        !            38:     
        !            39:     "derived": [
        !            40:         { "name": "gram",            "symbol": "g",    "convert": "0.001 kg",                "comment": "mass" },
        !            41:         { "name": "minute",          "symbol": "min",  "convert": "60 s",                    "comment": "time" },
        !            42:         { "name": "hour",            "symbol": "hr",   "convert": "3600 s",                  "comment": "time" },
        !            43:         { "name": "hour",            "symbol": "h",    "convert": "3600 s",                  "comment": "time" },
        !            44:         { "name": "day",             "symbol": "day",  "convert": "24.0 hr",                 "comment": "time" },
        !            45:         { "name": "day",             "symbol": "days", "convert": "24.0 hr",                 "comment": "time" },
        !            46:         { "name": "year",            "symbol": "yr",   "convert": "365.24 day",              "comment": "time" },
        !            47:         { "name": "pound",           "symbol": "lb",   "convert": "0.45359237 kg",           "comment": "mass" },
        !            48:         { "name": "ounce",           "symbol": "oz",   "convert": "2.83495E-2 kg",           "comment": "mass" },
        !            49:         { "name": "inch",            "symbol": "in",   "convert": "2.54 cm",                 "comment": "length" },
        !            50:         { "name": "foot",            "symbol": "ft",   "convert": "12 in",                   "comment": "length" },
        !            51:         { "name": "mile",            "symbol": "mi",   "convert": "5280 ft",                 "comment": "length" },
        !            52:         { "name": "yard",            "symbol": "yd",   "convert": "0.9144 m",                "comment": "length" },
        !            53:         { "name": "nautical_mile",   "symbol": "n_mi", "convert": "6080 ft",                 "comment": "length, nautical mile (UK)" },
        !            54:         { "name": "astroUnit",       "symbol": "AU",   "convert": "1.49598E11 m",            "comment": "length, mean distance earth to sun" },
        !            55:         { "name": "parsec",          "symbol": "pc",   "convert": "3.08568025E16 m",         "comment": "length" },
        !            56:         { "name": "light-year",      "symbol": "ly",   "convert": "9460730472580800 m",      "comment": "length" },
        !            57:         { "name": "rood",            "symbol": "rood", "convert": "1210 yd^2",               "comment": "area, rood" },
        !            58:         { "name": "acre",            "symbol": "acre", "convert": "4840 yd^2",               "comment": "area, acre" },
        !            59:         { "name": "hertz",           "symbol": "Hz",   "convert": "1/s",                     "comment": "frequency" },
        !            60:         { "name": "litre",           "symbol": "L",    "convert": "10^3*cm^3",               "comment": "volume" },
        !            61:         { "name": "newton",          "symbol": "N",    "convert": "m*kg/s^2",                "comment": "force" },
        !            62:         { "name": "pound_force",     "symbol": "lbf",  "convert": "4.44822 N",               "comment": "force" },
        !            63:         { "name": "dyne",            "symbol": "dyn",  "convert": "1E-5 N",                  "comment": "force" },
        !            64:         { "name": "pascal",          "symbol": "Pa",   "convert": "N/m^2",                   "comment": "pressure, stress" },
        !            65:         { "name": "bar",             "symbol": "bar",  "convert": "1E5 Pa",                  "comment": "pressure" },
        !            66:         { "name": "mmHg",            "symbol": "mmHg", "convert": "1.33322E2 Pa",            "comment": "pressure, millimeter of mercury" },
        !            67:         { "name": "torr",            "symbol": "torr", "convert": "1 mmHg",                  "comment": "pressure" },
        !            68:         { "name": "atm",             "symbol": "atm",  "convert": "760 torr",                "comment": "standard atmosphere" },
        !            69:         { "name": "joule",           "symbol": "J",    "convert": "N*m",                     "comment": "energy, work, heat" },
        !            70:         { "name": "electronvolt",    "symbol": "eV",   "convert": "1.6021892E-19 J",         "comment": "energy" },
        !            71:         { "name": "calorie",         "symbol": "cal",  "convert": "4.1868 J",                "comment": "energy" },
        !            72:         { "name": "Btu",             "symbol": "Btu",  "convert": "1.05506E3 J",             "comment": "energy" },
        !            73:         { "name": "watt",            "symbol": "W",    "convert": "J/s",                     "comment": "power, radiant flux" },
        !            74:         { "name": "coulomb",         "symbol": "C",    "convert": "A*s",                     "comment": "electric charge" },
        !            75:         { "name": "volt",            "symbol": "V",    "convert": "J/C",                     "comment": "electric potential, electromotive force" },
        !            76:         { "name": "ohm",             "symbol": "ohm",  "convert": "V/A",                     "comment": "electric resistance, use this in /ANS" },
        !            77:         { "name": "ohm",             "symbol": "ohms", "convert": "V/A",                     "comment": "electric resistance" },
        !            78:         { "name": "ohm",             "symbol": "Ohm",  "convert": "V/A",                     "comment": "electric resistance" },
        !            79:         { "name": "ohm",             "symbol": "Ohms", "convert": "V/A",                     "comment": "electric resistance" },
        !            80:         { "name": "mho",             "symbol": "mho",  "convert": "1/ohm",                   "comment": "electric conductance" },
        !            81:         { "name": "mho",             "symbol": "mhos", "convert": "1/ohm",                   "comment": "electric conductance" },
        !            82:         { "name": "mho",             "symbol": "Mho",  "convert": "1/ohm",                   "comment": "electric conductance" },
        !            83:         { "name": "mho",             "symbol": "Mhos", "convert": "1/ohm",                   "comment": "electric conductance" },
        !            84:         { "name": "siemens",         "symbol": "S",    "convert": "1/Ohm",                   "comment": "electric conductance" },
        !            85:         { "name": "farad",           "symbol": "F",    "convert": "C/V",                     "comment": "electric capacitance" },
        !            86:         { "name": "tesla",           "symbol": "T",    "convert": "V*s/m^2",                 "comment": "magnetic flux density" },
        !            87:         { "name": "weber",           "symbol": "Wb",   "convert": "V*s",                     "comment": "magnetic flux" },
        !            88:         { "name": "henry",           "symbol": "H",    "convert": "V*s/A",                   "comment": "inductance" },
        !            89:         { "name": "radian",          "symbol": "rad",  "convert": "m/m",                     "comment": "plane angle" },
        !            90:         { "name": "degree",          "symbol": "deg",  "convert": "1.745329E-2 rad",         "comment": "plane angle (Pi rad=180 deg)" },
        !            91:         { "name": "steradian",       "symbol": "sr",   "convert": "m^2 /m^2",                "comment": "solid angle" },
        !            92:         { "name": "lumen",           "symbol": "lm",   "convert": "cd*sr",                   "comment": "luminous flux" },
        !            93:         { "name": "lux",             "symbol": "lx",   "convert": "cd*sr/m^2",               "comment": "illuminance" },
        !            94:         { "name": "becquerel",       "symbol": "Bq",   "convert": "1/s",                     "comment": "activity (radioactive)" },
        !            95:         { "name": "curie",           "symbol": "Ci",   "convert": "3.70E10 Bq",              "comment": "activity (radioactive)" },
        !            96:         { "name": "gray",            "symbol": "Gy",   "convert": "J/kg",                    "comment": "absorbed dose (of radiation)" },
        !            97:         { "name": "sievert",         "symbol": "Sv",   "convert": "J/kg",                    "comment": "dose equivalent (dose equivalent index)" },
        !            98:         { "name": "celcius",         "symbol": "degC", "convert": "1 K",                     "comment": "multiplicatively OK" },
        !            99:         { "name": "fahrenheit",      "symbol": "degF", "convert": "0.555555555 K",           "comment": "multiplicatively OK" },
        !           100:         { "name": "molarity",        "symbol": "M",    "convert": "mol/L",                   "comment": "chemisty" },
        !           101:         { "name": "amu",             "symbol": "amu",  "convert": "1.66053873e-27 kg",       "comment": "atomic mass unit" },
        !           102:         { "name": "amu",             "symbol": "u",    "convert": "1.66053873e-27 kg",       "comment": "atomic mass unit" },
        !           103:         { "name": "cubiccentimeter", "symbol": "cc",   "convert": "cm^3",                    "comment": "cubic centimeter" },
        !           104:         { "name": "electroncharge",  "symbol": "e",    "convert": "1.6021892E-19 C",         "comment": "elementary charge" },
        !           105:         { "name": "hbar",            "symbol": "hbar", "convert": "1.05457148E-34 m^2*kg/s", "comment": "Planck constant" },
        !           106:         { "name": "milesperhour",    "symbol": "mph",  "convert": "0.44704 m/s",             "comment": "miles per hour" },
        !           107:         { "name": "rpm",             "symbol": "rpm",  "convert": "0.0166666667/s",          "comment": "rounds per minute" },
        !           108:         { "name": "rpm",             "symbol": "rpms", "convert": "0.0166666667/s",          "comment": "rounds per minute" }
        !           109:     ]
        !           110: }

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