diff options
| author | Jay Belanger | 2005-10-19 20:19:04 +0000 |
|---|---|---|
| committer | Jay Belanger | 2005-10-19 20:19:04 +0000 |
| commit | cf39c182861d1239a2ddbc818a8ced86970c4377 (patch) | |
| tree | 507e52717ecfd5981d51d880ddf489a2b483bedd /lisp | |
| parent | e27e4e7a3b9aea1478806ea5d29c0db23e413cd0 (diff) | |
| download | emacs-cf39c182861d1239a2ddbc818a8ced86970c4377.tar.gz emacs-cf39c182861d1239a2ddbc818a8ced86970c4377.zip | |
(math-standard-units): Add units, adjust symbols and update values.
(math-unit-prefixes): Add more prefixes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/calc/calc-units.el | 314 |
2 files changed, 170 insertions, 152 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 675dc73840a..f532be2d596 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2005-10-19 Jay Belanger <belanger@truman.edu> | ||
| 2 | |||
| 3 | * calc/calc-units.el (math-standard-units): Add units, adjust | ||
| 4 | symbols and update values. | ||
| 5 | (math-unit-prefixes): Add more prefixes. | ||
| 6 | |||
| 1 | 2005-10-19 Romain Francoise <romain@orebokech.com> | 7 | 2005-10-19 Romain Francoise <romain@orebokech.com> |
| 2 | 8 | ||
| 3 | * bookmark.el (bookmark-menu-heading): New face. | 9 | * bookmark.el (bookmark-menu-heading): New face. |
| @@ -128,7 +134,7 @@ | |||
| 128 | 134 | ||
| 129 | 2005-10-18 Jay Belanger <belanger@truman.edu> | 135 | 2005-10-18 Jay Belanger <belanger@truman.edu> |
| 130 | 136 | ||
| 131 | * calc/calc-store (calc-store-into): Get the proper variable name | 137 | * calc/calc-store.el (calc-store-into): Get the proper variable name |
| 132 | to display in message. | 138 | to display in message. |
| 133 | 139 | ||
| 134 | 2005-10-18 Nick Roberts <nickrob@snap.net.nz> | 140 | 2005-10-18 Nick Roberts <nickrob@snap.net.nz> |
diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el index 8fcbe7c0943..c1673508897 100644 --- a/lisp/calc/calc-units.el +++ b/lisp/calc/calc-units.el | |||
| @@ -43,200 +43,208 @@ | |||
| 43 | ;;; for CODATA 1998 see one of | 43 | ;;; for CODATA 1998 see one of |
| 44 | ;;; - Journal of Physical and Chemical Reference Data, 28(6), 1713-1852, 1999. | 44 | ;;; - Journal of Physical and Chemical Reference Data, 28(6), 1713-1852, 1999. |
| 45 | ;;; - Reviews of Modern Physics, 72(2), 351-495, 2000. | 45 | ;;; - Reviews of Modern Physics, 72(2), 351-495, 2000. |
| 46 | ;;; for CODATA 2005 see | ||
| 46 | ;;; - http://physics.nist.gov/cuu/Constants/index.html | 47 | ;;; - http://physics.nist.gov/cuu/Constants/index.html |
| 47 | 48 | ||
| 48 | (defvar math-standard-units | 49 | (defvar math-standard-units |
| 49 | '( ;; Length | 50 | '( ;; Length |
| 50 | ( m nil "*Meter" ) | 51 | ( m nil "*Meter" ) |
| 51 | ( in "2.54 cm" "Inch" ) | 52 | ( in "2.54 cm" "Inch" ) |
| 52 | ( ft "12 in" "Foot" ) | 53 | ( ft "12 in" "Foot" ) |
| 53 | ( yd "3 ft" "Yard" ) | 54 | ( yd "3 ft" "Yard" ) |
| 54 | ( mi "5280 ft" "Mile" ) | 55 | ( mi "5280 ft" "Mile" ) |
| 55 | ( au "149597870691 m" "Astronomical Unit" ) ;; NASA JPL (http://neo.jpl.nasa.gov/glossary/au.html) | 56 | ( au "149597870691 m" "Astronomical Unit" ) ;; NASA JPL (http://neo.jpl.nasa.gov/glossary/au.html) |
| 56 | ( lyr "9460536207068016 m" "Light Year" ) | 57 | ( lyr "9460536207068016 m" "Light Year" ) |
| 57 | ( pc "206264.80625 au" "Parsec" ) | 58 | ( pc "206264.80625 au" "Parsec" ) |
| 58 | ( nmi "1852 m" "Nautical Mile" ) | 59 | ( nmi "1852 m" "Nautical Mile" ) |
| 59 | ( fath "6 ft" "Fathom" ) | 60 | ( fath "6 ft" "Fathom" ) |
| 60 | ( u "1 um" "Micron" ) | 61 | ( mu "1 um" "Micron" ) |
| 61 | ( mil "in/1000" "Mil" ) | 62 | ( mil "in/1000" "Mil" ) |
| 62 | ( point "in/72" "Point (1/72 inch)" ) | 63 | ( point "in/72" "Point (1/72 inch)" ) |
| 63 | ( tpt "in/72.27" "Point (TeX conventions)" ) | 64 | ( Ang "1e-10 m" "Angstrom" ) |
| 64 | ( Ang "1e-10 m" "Angstrom" ) | 65 | ( mfi "mi+ft+in" "Miles + feet + inches" ) |
| 65 | ( mfi "mi+ft+in" "Miles + feet + inches" ) | 66 | ;; TeX lengths |
| 67 | ( texpt "in/72.27" "Point (TeX conventions)" ) | ||
| 68 | ( texpc "12 texpt" "Pica" ) | ||
| 69 | ( texbp "point" "Big point (TeX conventions)" ) | ||
| 70 | ( texdd "1238/1157 texpt" "Didot point" ) | ||
| 71 | ( texcc "12 texdd" "Cicero" ) | ||
| 72 | ( texsp "1/66536 texpt" "Scaled TeX point" ) | ||
| 66 | 73 | ||
| 67 | ;; Area | 74 | ;; Area |
| 68 | ( hect "10000 m^2" "*Hectare" ) | 75 | ( hect "10000 m^2" "*Hectare" ) |
| 69 | ( acre "mi^2 / 640" "Acre" ) | 76 | ( a "100 m^2" "Are") |
| 70 | ( b "1e-28 m^2" "Barn" ) | 77 | ( acre "mi^2 / 640" "Acre" ) |
| 78 | ( b "1e-28 m^2" "Barn" ) | ||
| 71 | 79 | ||
| 72 | ;; Volume | 80 | ;; Volume |
| 73 | ( l "1e-3 m^3" "*Liter" ) | 81 | ( L "1e-3 m^3" "*Liter" ) |
| 74 | ( L "1e-3 m^3" "Liter" ) | 82 | ( l "L" "Liter" ) |
| 75 | ( gal "4 qt" "US Gallon" ) | 83 | ( gal "4 qt" "US Gallon" ) |
| 76 | ( qt "2 pt" "Quart" ) | 84 | ( qt "2 pt" "Quart" ) |
| 77 | ( pt "2 cup" "Pint" ) | 85 | ( pt "2 cup" "Pint" ) |
| 78 | ( cup "8 ozfl" "Cup" ) | 86 | ( cup "8 ozfl" "Cup" ) |
| 79 | ( ozfl "2 tbsp" "Fluid Ounce" ) | 87 | ( ozfl "2 tbsp" "Fluid Ounce" ) |
| 80 | ( floz "2 tbsp" "Fluid Ounce" ) | 88 | ( floz "2 tbsp" "Fluid Ounce" ) |
| 81 | ( tbsp "3 tsp" "Tablespoon" ) | 89 | ( tbsp "3 tsp" "Tablespoon" ) |
| 82 | ( tsp "4.92892159375 ml" "Teaspoon" ) | 90 | ( tsp "4.92892159375 ml" "Teaspoon" ) |
| 83 | ( vol "tsp+tbsp+ozfl+cup+pt+qt+gal" "Gallons + ... + teaspoons" ) | 91 | ( vol "tsp+tbsp+ozfl+cup+pt+qt+gal" "Gallons + ... + teaspoons" ) |
| 84 | ( galC "4.54609 l" "Canadian Gallon" ) | 92 | ( galC "4.54609 L" "Canadian Gallon" ) |
| 85 | ( galUK "4.546092 l" "UK Gallon" ) | 93 | ( galUK "4.546092 L" "UK Gallon" ) |
| 86 | 94 | ||
| 87 | ;; Time | 95 | ;; Time |
| 88 | ( s nil "*Second" ) | 96 | ( s nil "*Second" ) |
| 89 | ( sec "s" "Second" ) | 97 | ( sec "s" "Second" ) |
| 90 | ( min "60 s" "Minute" ) | 98 | ( min "60 s" "Minute" ) |
| 91 | ( hr "60 min" "Hour" ) | 99 | ( hr "60 min" "Hour" ) |
| 92 | ( day "24 hr" "Day" ) | 100 | ( day "24 hr" "Day" ) |
| 93 | ( wk "7 day" "Week" ) | 101 | ( wk "7 day" "Week" ) |
| 94 | ( hms "wk+day+hr+min+s" "Hours, minutes, seconds" ) | 102 | ( hms "wk+day+hr+min+s" "Hours, minutes, seconds" ) |
| 95 | ( yr "365.25 day" "Year" ) | 103 | ( yr "365.25 day" "Year" ) |
| 96 | ( Hz "1/s" "Hertz" ) | 104 | ( Hz "1/s" "Hertz" ) |
| 97 | 105 | ||
| 98 | ;; Speed | 106 | ;; Speed |
| 99 | ( mph "mi/hr" "*Miles per hour" ) | 107 | ( mph "mi/hr" "*Miles per hour" ) |
| 100 | ( kph "km/hr" "Kilometers per hour" ) | 108 | ( kph "km/hr" "Kilometers per hour" ) |
| 101 | ( knot "nmi/hr" "Knot" ) | 109 | ( knot "nmi/hr" "Knot" ) |
| 102 | ( c "2.99792458e8 m/s" "Speed of light" ) | 110 | ( c "299792458 m/s" "Speed of light" ) ;;; CODATA 2005 |
| 103 | 111 | ||
| 104 | ;; Acceleration | 112 | ;; Acceleration |
| 105 | ( ga "9.80665 m/s^2" "*\"g\" acceleration" ) | 113 | ( ga "9.80665 m/s^2" "*\"g\" acceleration" ) ;; CODATA 2005 |
| 106 | 114 | ||
| 107 | ;; Mass | 115 | ;; Mass |
| 108 | ( g nil "*Gram" ) | 116 | ( g nil "*Gram" ) |
| 109 | ( lb "16 oz" "Pound (mass)" ) | 117 | ( lb "16 oz" "Pound (mass)" ) |
| 110 | ( oz "28.349523125 g" "Ounce (mass)" ) | 118 | ( oz "28.349523125 g" "Ounce (mass)" ) |
| 111 | ( ton "2000 lb" "Ton" ) | 119 | ( ton "2000 lb" "Ton" ) |
| 112 | ( tpo "ton+lb+oz" "Tons + pounds + ounces (mass)" ) | 120 | ( tpo "ton+lb+oz" "Tons + pounds + ounces (mass)" ) |
| 113 | ( t "1000 kg" "Metric ton" ) | 121 | ( t "1000 kg" "Metric ton" ) |
| 114 | ( tonUK "1016.0469088 kg" "UK ton" ) | 122 | ( tonUK "1016.0469088 kg" "UK ton" ) |
| 115 | ( lbt "12 ozt" "Troy pound" ) | 123 | ( lbt "12 ozt" "Troy pound" ) |
| 116 | ( ozt "31.103475 g" "Troy ounce" ) | 124 | ( ozt "31.103475 g" "Troy ounce" ) |
| 117 | ( ct ".2 g" "Carat" ) | 125 | ( ct ".2 g" "Carat" ) |
| 118 | ( amu "1.66053873e-27 kg" "Unified atomic mass" ) ;; CODATA 1998 | 126 | ( u "1.66053886e-27 kg" "Unified atomic mass" ) ;; CODATA 2005 |
| 119 | 127 | ||
| 120 | ;; Force | 128 | ;; Force |
| 121 | ( N "m kg/s^2" "*Newton" ) | 129 | ( N "m kg/s^2" "*Newton" ) |
| 122 | ( dyn "1e-5 N" "Dyne" ) | 130 | ( dyn "1e-5 N" "Dyne" ) |
| 123 | ( gf "ga g" "Gram (force)" ) | 131 | ( gf "ga g" "Gram (force)" ) |
| 124 | ( lbf "4.44822161526 N" "Pound (force)" ) | 132 | ( lbf "4.44822161526 N" "Pound (force)" ) |
| 125 | ( kip "1000 lbf" "Kilopound (force)" ) | 133 | ( kip "1000 lbf" "Kilopound (force)" ) |
| 126 | ( pdl "0.138255 N" "Poundal" ) | 134 | ( pdl "0.138255 N" "Poundal" ) |
| 127 | 135 | ||
| 128 | ;; Energy | 136 | ;; Energy |
| 129 | ( J "N m" "*Joule" ) | 137 | ( J "N m" "*Joule" ) |
| 130 | ( erg "1e-7 J" "Erg" ) | 138 | ( erg "1e-7 J" "Erg" ) |
| 131 | ( cal "4.1868 J" "International Table Calorie" ) | 139 | ( cal "4.1868 J" "International Table Calorie" ) |
| 132 | ( Btu "1055.05585262 J" "International Table Btu" ) | 140 | ( Btu "1055.05585262 J" "International Table Btu" ) |
| 133 | ( eV "ech V" "Electron volt" ) | 141 | ( eV "ech V" "Electron volt" ) |
| 134 | ( ev "eV" "Electron volt" ) | 142 | ( ev "eV" "Electron volt" ) |
| 135 | ( therm "105506000 J" "EEC therm" ) | 143 | ( therm "105506000 J" "EEC therm" ) |
| 136 | ( invcm "h c/cm" "Energy in inverse centimeters" ) | 144 | ( invcm "h c/cm" "Energy in inverse centimeters" ) |
| 137 | ( Kayser "invcm" "Kayser (inverse centimeter energy)" ) | 145 | ( Kayser "invcm" "Kayser (inverse centimeter energy)" ) |
| 138 | ( men "100/invcm" "Inverse energy in meters" ) | 146 | ( men "100/invcm" "Inverse energy in meters" ) |
| 139 | ( Hzen "h Hz" "Energy in Hertz") | 147 | ( Hzen "h Hz" "Energy in Hertz") |
| 140 | ( Ken "k K" "Energy in Kelvins") | 148 | ( Ken "k K" "Energy in Kelvins") |
| 141 | ( Wh "W hr" "Watt hour") | 149 | ( Wh "W hr" "Watt hour") |
| 142 | ( Ws "W s" "Watt second") | 150 | ( Ws "W s" "Watt second") |
| 143 | 151 | ||
| 144 | ;; Power | 152 | ;; Power |
| 145 | ( W "J/s" "*Watt" ) | 153 | ( W "J/s" "*Watt" ) |
| 146 | ( hp "745.7 W" "Horsepower" ) | 154 | ( hp "745.7 W" "Horsepower" ) |
| 147 | 155 | ||
| 148 | ;; Temperature | 156 | ;; Temperature |
| 149 | ( K nil "*Degree Kelvin" K ) | 157 | ( K nil "*Degree Kelvin" K ) |
| 150 | ( dK "K" "Degree Kelvin" K ) | 158 | ( dK "K" "Degree Kelvin" K ) |
| 151 | ( degK "K" "Degree Kelvin" K ) | 159 | ( degK "K" "Degree Kelvin" K ) |
| 152 | ( dC "K" "Degree Celsius" C ) | 160 | ( dC "K" "Degree Celsius" C ) |
| 153 | ( degC "K" "Degree Celsius" C ) | 161 | ( degC "K" "Degree Celsius" C ) |
| 154 | ( dF "(5/9) K" "Degree Fahrenheit" F ) | 162 | ( dF "(5/9) K" "Degree Fahrenheit" F ) |
| 155 | ( degF "(5/9) K" "Degree Fahrenheit" F ) | 163 | ( degF "(5/9) K" "Degree Fahrenheit" F ) |
| 156 | 164 | ||
| 157 | ;; Pressure | 165 | ;; Pressure |
| 158 | ( Pa "N/m^2" "*Pascal" ) | 166 | ( Pa "N/m^2" "*Pascal" ) |
| 159 | ( bar "1e5 Pa" "Bar" ) | 167 | ( bar "1e5 Pa" "Bar" ) |
| 160 | ( atm "101325 Pa" "Standard atmosphere" ) | 168 | ( atm "101325 Pa" "Standard atmosphere" ) ;; CODATA 2005 |
| 161 | ( torr " 1.333224e2 Pa" "Torr" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) | 169 | ( Torr " 1.333224e2 Pa" "Torr" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) |
| 162 | ( mHg "1000 torr" "Meter of mercury" ) | 170 | ( mHg "1000 Torr" "Meter of mercury" ) |
| 163 | ( inHg "25.4 mmHg" "Inch of mercury" ) | 171 | ( inHg "25.4 mmHg" "Inch of mercury" ) |
| 164 | ( inH2O "2.490889e2 Pa" "Inch of water" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) | 172 | ( inH2O "2.490889e2 Pa" "Inch of water" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) |
| 165 | ( psi "6894.75729317 Pa" "Pound per square inch" ) | 173 | ( psi "6894.75729317 Pa" "Pound per square inch" ) |
| 166 | 174 | ||
| 167 | ;; Viscosity | 175 | ;; Viscosity |
| 168 | ( P "0.1 Pa s" "*Poise" ) | 176 | ( P "0.1 Pa s" "*Poise" ) |
| 169 | ( St "1e-4 m^2/s" "Stokes" ) | 177 | ( St "1e-4 m^2/s" "Stokes" ) |
| 170 | 178 | ||
| 171 | ;; Electromagnetism | 179 | ;; Electromagnetism |
| 172 | ( A nil "*Ampere" ) | 180 | ( A nil "*Ampere" ) |
| 173 | ( C "A s" "Coulomb" ) | 181 | ( C "A s" "Coulomb" ) |
| 174 | ( Fdy "ech Nav" "Faraday" ) | 182 | ( Fdy "ech Nav" "Faraday" ) |
| 175 | ( e "1.602176462e-19 C" "Elementary charge" ) ;; CODATA 1998 | 183 | ( e "1.60217653e-19 C" "Elementary charge" ) ;; CODATA 2005 |
| 176 | ( ech "1.602176462e-19 C" "Elementary charge" ) ;; CODATA 1998 | 184 | ( ech "1.60217653e-19 C" "Elementary charge" ) ;; CODATA 2005 |
| 177 | ( V "W/A" "Volt" ) | 185 | ( V "W/A" "Volt" ) |
| 178 | ( ohm "V/A" "Ohm" ) | 186 | ( ohm "V/A" "Ohm" ) |
| 179 | ( mho "A/V" "Mho" ) | 187 | ( mho "A/V" "Mho" ) |
| 180 | ( S "A/V" "Siemens" ) | 188 | ( S "A/V" "Siemens" ) |
| 181 | ( F "C/V" "Farad" ) | 189 | ( F "C/V" "Farad" ) |
| 182 | ( H "Wb/A" "Henry" ) | 190 | ( H "Wb/A" "Henry" ) |
| 183 | ( T "Wb/m^2" "Tesla" ) | 191 | ( T "Wb/m^2" "Tesla" ) |
| 184 | ( G "1e-4 T" "Gauss" ) | 192 | ( Gs "1e-4 T" "Gauss" ) |
| 185 | ( Wb "V s" "Weber" ) | 193 | ( Wb "V s" "Weber" ) |
| 186 | 194 | ||
| 187 | ;; Luminous intensity | 195 | ;; Luminous intensity |
| 188 | ( cd nil "*Candela" ) | 196 | ( cd nil "*Candela" ) |
| 189 | ( sb "1e4 cd/m^2" "Stilb" ) | 197 | ( sb "1e4 cd/m^2" "Stilb" ) |
| 190 | ( lm "cd sr" "Lumen" ) | 198 | ( lm "cd sr" "Lumen" ) |
| 191 | ( lx "lm/m^2" "Lux" ) | 199 | ( lx "lm/m^2" "Lux" ) |
| 192 | ( ph "1e4 lx" "Phot" ) | 200 | ( ph "1e4 lx" "Phot" ) |
| 193 | ( fc "10.76391 lx" "Footcandle" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) | 201 | ( fc "10.76391 lx" "Footcandle" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) |
| 194 | ( lam "1e4 lm/m^2" "Lambert" ) | 202 | ( lam "1e4 lm/m^2" "Lambert" ) |
| 195 | ( flam "3.426259 cd/m^2" "Footlambert" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) | 203 | ( flam "3.426259 cd/m^2" "Footlambert" ) ;; NIST (http://physics.nist.gov/Pubs/SP811/appenB9.html) |
| 196 | 204 | ||
| 197 | ;; Radioactivity | 205 | ;; Radioactivity |
| 198 | ( Bq "1/s" "*Becquerel" ) | 206 | ( Bq "1/s" "*Becquerel" ) |
| 199 | ( Ci "3.7e10 Bq" "Curie" ) | 207 | ( Ci "3.7e10 Bq" "Curie" ) |
| 200 | ( Gy "J/kg" "Gray" ) | 208 | ( Gy "J/kg" "Gray" ) |
| 201 | ( Sv "Gy" "Sievert" ) | 209 | ( Sv "Gy" "Sievert" ) |
| 202 | ( R "2.58e-4 C/kg" "Roentgen" ) | 210 | ( R "2.58e-4 C/kg" "Roentgen" ) |
| 203 | ( rd ".01 Gy" "Rad" ) | 211 | ( rd ".01 Gy" "Rad" ) |
| 204 | ( rem "rd" "Rem" ) | 212 | ( rem "rd" "Rem" ) |
| 205 | 213 | ||
| 206 | ;; Amount of substance | 214 | ;; Amount of substance |
| 207 | ( mol nil "*Mole" ) | 215 | ( mol nil "*Mole" ) |
| 208 | 216 | ||
| 209 | ;; Plane angle | 217 | ;; Plane angle |
| 210 | ( rad nil "*Radian" ) | 218 | ( rad nil "*Radian" ) |
| 211 | ( circ "2 pi rad" "Full circle" ) | 219 | ( circ "2 pi rad" "Full circle" ) |
| 212 | ( rev "circ" "Full revolution" ) | 220 | ( rev "circ" "Full revolution" ) |
| 213 | ( deg "circ/360" "Degree" ) | 221 | ( deg "circ/360" "Degree" ) |
| 214 | ( arcmin "deg/60" "Arc minute" ) | 222 | ( arcmin "deg/60" "Arc minute" ) |
| 215 | ( arcsec "arcmin/60" "Arc second" ) | 223 | ( arcsec "arcmin/60" "Arc second" ) |
| 216 | ( grad "circ/400" "Grade" ) | 224 | ( grad "circ/400" "Grade" ) |
| 217 | ( rpm "rev/min" "Revolutions per minute" ) | 225 | ( rpm "rev/min" "Revolutions per minute" ) |
| 218 | 226 | ||
| 219 | ;; Solid angle | 227 | ;; Solid angle |
| 220 | ( sr nil "*Steradian" ) | 228 | ( sr nil "*Steradian" ) |
| 221 | 229 | ||
| 222 | ;; Other physical quantities (CODATA 1998) | 230 | ;; Other physical quantities |
| 223 | ( h "6.62606876e-34 J s" "*Planck's constant" ) | 231 | ( h "6.6260693e-34 J s" "*Planck's constant" ) ;; CODATA 2005 |
| 224 | ( hbar "h / 2 pi" "Planck's constant" ) | 232 | ( hbar "h / 2 pi" "Planck's constant" ) |
| 225 | ( mu0 "4 pi 1e-7 H/m" "Permeability of vacuum" ) | 233 | ( mu0 "4 pi 1e-7 H/m" "Permeability of vacuum" ) |
| 226 | ( Grav "6.673e-11 m^3/kg^1/s^2" "Gravitational constant" ) | 234 | ( G "6.6742e-11 m^3/kg^1/s^2" "Gravitational constant" ) ;; CODATA 2005 |
| 227 | ( Nav "6.02214199e23 / mol" "Avagadro's constant" ) | 235 | ( Nav "6.02214115e23 / mol" "Avagadro's constant" ) ;; CODATA 2005 |
| 228 | ( me "9.10938188e-31 kg" "Electron rest mass" ) | 236 | ( me "9.1093826e-31 kg" "Electron rest mass" ) ;; CODATA 2005 |
| 229 | ( mp "1.67262158e-27 kg" "Proton rest mass" ) | 237 | ( mp "1.67262171e-27 kg" "Proton rest mass" ) ;; CODATA 2005 |
| 230 | ( mn "1.67492716e-27 kg" "Neutron rest mass" ) | 238 | ( mn "1.67492728e-27 kg" "Neutron rest mass" ) ;; CODATA 2005 |
| 231 | ( mu "1.88353109e-28 kg" "Muon rest mass" ) | 239 | ( mmu "1.88353140e-28 kg" "Muon rest mass" ) ;; CODATA 2005 |
| 232 | ( Ryd "10973731.568549 /m" "Rydberg's constant" ) | 240 | ( Ryd "10973731.568525 /m" "Rydberg's constant" ) ;; CODATA 2005 |
| 233 | ( k "1.3806503e-23 J/K" "Boltzmann's constant" ) | 241 | ( k "1.3806505e-23 J/K" "Boltzmann's constant" ) ;; CODATA 2005 |
| 234 | ( fsc "7.297352533e-3" "Fine structure constant" ) | 242 | ( alpha "7.297352568e-3" "Fine structure constant" ) ;; CODATA 2005 |
| 235 | ( muB "927.400899e-26 J/T" "Bohr magneton" ) | 243 | ( muB "927.400949e-26 J/T" "Bohr magneton" ) ;; CODATA 2005 |
| 236 | ( muN "5.05078317e-27 J/T" "Nuclear magneton" ) | 244 | ( muN "5.05078343e-27 J/T" "Nuclear magneton" ) ;; CODATA 2005 |
| 237 | ( mue "-928.476362e-26 J/T" "Electron magnetic moment" ) | 245 | ( mue "-928.476412e-26 J/T" "Electron magnetic moment" ) ;; CODATA 2005 |
| 238 | ( mup "1.410606633e-26 J/T" "Proton magnetic moment" ) | 246 | ( mup "1.41060671e-26 J/T" "Proton magnetic moment" ) ;; CODATA 2005 |
| 239 | ( R0 "8.314472 J/mol/K" "Molar gas constant" ) | 247 | ( R0 "8.314472 J/mol/K" "Molar gas constant" ) ;; CODATA 2005 |
| 240 | ( V0 "22.710981e-3 m^3/mol" "Standard volume of ideal gas" ))) | 248 | ( V0 "22.710981e-3 m^3/mol" "Standard volume of ideal gas" ))) |
| 241 | 249 | ||
| 242 | 250 | ||
| @@ -247,7 +255,9 @@ If this is changed, be sure to set math-units-table to nil to ensure | |||
| 247 | that the combined units table will be rebuilt.") | 255 | that the combined units table will be rebuilt.") |
| 248 | 256 | ||
| 249 | (defvar math-unit-prefixes | 257 | (defvar math-unit-prefixes |
| 250 | '( ( ?E (float 1 18) "Exa" ) | 258 | '( ( ?Y (float 1 24) "Yotta" ) |
| 259 | ( ?Z (float 1 21) "Zetta" ) | ||
| 260 | ( ?E (float 1 18) "Exa" ) | ||
| 251 | ( ?P (float 1 15) "Peta" ) | 261 | ( ?P (float 1 15) "Peta" ) |
| 252 | ( ?T (float 1 12) "Tera" ) | 262 | ( ?T (float 1 12) "Tera" ) |
| 253 | ( ?G (float 1 9) "Giga" ) | 263 | ( ?G (float 1 9) "Giga" ) |
| @@ -265,7 +275,9 @@ that the combined units table will be rebuilt.") | |||
| 265 | ( ?n (float 1 -9) "Nano" ) | 275 | ( ?n (float 1 -9) "Nano" ) |
| 266 | ( ?p (float 1 -12) "Pico" ) | 276 | ( ?p (float 1 -12) "Pico" ) |
| 267 | ( ?f (float 1 -15) "Femto" ) | 277 | ( ?f (float 1 -15) "Femto" ) |
| 268 | ( ?a (float 1 -18) "Atto" ))) | 278 | ( ?a (float 1 -18) "Atto" ) |
| 279 | ( ?z (float 1 -21) "zepto" ) | ||
| 280 | ( ?y (float 1 -24) "yocto" ))) | ||
| 269 | 281 | ||
| 270 | (defvar math-standard-units-systems | 282 | (defvar math-standard-units-systems |
| 271 | '( ( base nil ) | 283 | '( ( base nil ) |