| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This chapter describes macros for the values of physical constants, such
as the speed of light,
, and gravitational constant,
.
The values are available in different unit systems, including the
standard MKSA system (meters, kilograms, seconds, amperes) and the CGSM
system (centimeters, grams, seconds, gauss), which is commonly used in
Astronomy.
The definitions of constants in the MKSA system are available in the file ‘gsl_const_mksa.h’. The constants in the CGSM system are defined in ‘gsl_const_cgsm.h’. Dimensionless constants, such as the fine structure constant, which are pure numbers are defined in ‘gsl_const_num.h’.
The full list of constants is described briefly below. Consult the header files themselves for the values of the constants used in the library.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_SPEED_OF_LIGHTThe speed of light in vacuum,
.
GSL_CONST_MKSA_VACUUM_PERMEABILITYThe permeability of free space,
. This constant is defined
in the MKSA system only.
GSL_CONST_MKSA_VACUUM_PERMITTIVITYThe permittivity of free space,
. This constant is
defined in the MKSA system only.
GSL_CONST_MKSA_PLANCKS_CONSTANT_HPlanck's constant,
.
GSL_CONST_MKSA_PLANCKS_CONSTANT_HBARPlanck's constant divided by
,
.
GSL_CONST_NUM_AVOGADROAvogadro's number,
.
GSL_CONST_MKSA_FARADAYThe molar charge of 1 Faraday.
GSL_CONST_MKSA_BOLTZMANNThe Boltzmann constant,
.
GSL_CONST_MKSA_MOLAR_GASThe molar gas constant,
.
GSL_CONST_MKSA_STANDARD_GAS_VOLUMEThe standard gas volume,
.
GSL_CONST_MKSA_STEFAN_BOLTZMANN_CONSTANTThe Stefan-Boltzmann radiation constant,
.
GSL_CONST_MKSA_GAUSSThe magnetic field of 1 Gauss.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_ASTRONOMICAL_UNITThe length of 1 astronomical unit (mean earth-sun distance),
.
GSL_CONST_MKSA_GRAVITATIONAL_CONSTANTThe gravitational constant,
.
GSL_CONST_MKSA_LIGHT_YEARThe distance of 1 light-year,
.
GSL_CONST_MKSA_PARSECThe distance of 1 parsec,
.
GSL_CONST_MKSA_GRAV_ACCELThe standard gravitational acceleration on Earth,
.
GSL_CONST_MKSA_SOLAR_MASSThe mass of the Sun.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_ELECTRON_CHARGEThe charge of the electron,
.
GSL_CONST_MKSA_ELECTRON_VOLTThe energy of 1 electron volt,
.
GSL_CONST_MKSA_UNIFIED_ATOMIC_MASSThe unified atomic mass,
.
GSL_CONST_MKSA_MASS_ELECTRONThe mass of the electron,
.
GSL_CONST_MKSA_MASS_MUONThe mass of the muon,
.
GSL_CONST_MKSA_MASS_PROTONThe mass of the proton,
.
GSL_CONST_MKSA_MASS_NEUTRONThe mass of the neutron,
.
GSL_CONST_NUM_FINE_STRUCTUREThe electromagnetic fine structure constant
.
GSL_CONST_MKSA_RYDBERGThe Rydberg constant,
, in units of energy. This is related to
the Rydberg inverse wavelength
by
.
GSL_CONST_MKSA_BOHR_RADIUSThe Bohr radius,
.
GSL_CONST_MKSA_ANGSTROMThe length of 1 angstrom.
GSL_CONST_MKSA_BARNThe area of 1 barn.
GSL_CONST_MKSA_BOHR_MAGNETONThe Bohr Magneton,
.
GSL_CONST_MKSA_NUCLEAR_MAGNETONThe Nuclear Magneton,
.
GSL_CONST_MKSA_ELECTRON_MAGNETIC_MOMENTThe absolute value of the magnetic moment of the electron,
.
The physical magnetic moment of the electron is negative.
GSL_CONST_MKSA_PROTON_MAGNETIC_MOMENTThe magnetic moment of the proton,
.
GSL_CONST_MKSA_THOMSON_CROSS_SECTIONThe Thomson cross section,
.
GSL_CONST_MKSA_DEBYEThe electric dipole moment of 1 Debye,
.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_MINUTEThe number of seconds in 1 minute.
GSL_CONST_MKSA_HOURThe number of seconds in 1 hour.
GSL_CONST_MKSA_DAYThe number of seconds in 1 day.
GSL_CONST_MKSA_WEEKThe number of seconds in 1 week.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_INCHThe length of 1 inch.
GSL_CONST_MKSA_FOOTThe length of 1 foot.
GSL_CONST_MKSA_YARDThe length of 1 yard.
GSL_CONST_MKSA_MILEThe length of 1 mile.
GSL_CONST_MKSA_MILThe length of 1 mil (1/1000th of an inch).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_KILOMETERS_PER_HOURThe speed of 1 kilometer per hour.
GSL_CONST_MKSA_MILES_PER_HOURThe speed of 1 mile per hour.
GSL_CONST_MKSA_NAUTICAL_MILEThe length of 1 nautical mile.
GSL_CONST_MKSA_FATHOMThe length of 1 fathom.
GSL_CONST_MKSA_KNOTThe speed of 1 knot.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_POINTThe length of 1 printer's point (1/72 inch).
GSL_CONST_MKSA_TEXPOINTThe length of 1 TeX point (1/72.27 inch).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_MICRONThe length of 1 micron.
GSL_CONST_MKSA_HECTAREThe area of 1 hectare.
GSL_CONST_MKSA_ACREThe area of 1 acre.
GSL_CONST_MKSA_LITERThe volume of 1 liter.
GSL_CONST_MKSA_US_GALLONThe volume of 1 US gallon.
GSL_CONST_MKSA_CANADIAN_GALLONThe volume of 1 Canadian gallon.
GSL_CONST_MKSA_UK_GALLONThe volume of 1 UK gallon.
GSL_CONST_MKSA_QUARTThe volume of 1 quart.
GSL_CONST_MKSA_PINTThe volume of 1 pint.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_POUND_MASSThe mass of 1 pound.
GSL_CONST_MKSA_OUNCE_MASSThe mass of 1 ounce.
GSL_CONST_MKSA_TONThe mass of 1 ton.
GSL_CONST_MKSA_METRIC_TONThe mass of 1 metric ton (1000 kg).
GSL_CONST_MKSA_UK_TONThe mass of 1 UK ton.
GSL_CONST_MKSA_TROY_OUNCEThe mass of 1 troy ounce.
GSL_CONST_MKSA_CARATThe mass of 1 carat.
GSL_CONST_MKSA_GRAM_FORCEThe force of 1 gram weight.
GSL_CONST_MKSA_POUND_FORCEThe force of 1 pound weight.
GSL_CONST_MKSA_KILOPOUND_FORCEThe force of 1 kilopound weight.
GSL_CONST_MKSA_POUNDALThe force of 1 poundal.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_CALORIEThe energy of 1 calorie.
GSL_CONST_MKSA_BTUThe energy of 1 British Thermal Unit,
.
GSL_CONST_MKSA_THERMThe energy of 1 Therm.
GSL_CONST_MKSA_HORSEPOWERThe power of 1 horsepower.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_BARThe pressure of 1 bar.
GSL_CONST_MKSA_STD_ATMOSPHEREThe pressure of 1 standard atmosphere.
GSL_CONST_MKSA_TORRThe pressure of 1 torr.
GSL_CONST_MKSA_METER_OF_MERCURYThe pressure of 1 meter of mercury.
GSL_CONST_MKSA_INCH_OF_MERCURYThe pressure of 1 inch of mercury.
GSL_CONST_MKSA_INCH_OF_WATERThe pressure of 1 inch of water.
GSL_CONST_MKSA_PSIThe pressure of 1 pound per square inch.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_POISEThe dynamic viscosity of 1 poise.
GSL_CONST_MKSA_STOKESThe kinematic viscosity of 1 stokes.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_STILBThe luminance of 1 stilb.
GSL_CONST_MKSA_LUMENThe luminous flux of 1 lumen.
GSL_CONST_MKSA_LUXThe illuminance of 1 lux.
GSL_CONST_MKSA_PHOTThe illuminance of 1 phot.
GSL_CONST_MKSA_FOOTCANDLEThe illuminance of 1 footcandle.
GSL_CONST_MKSA_LAMBERTThe luminance of 1 lambert.
GSL_CONST_MKSA_FOOTLAMBERTThe luminance of 1 footlambert.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_CURIEThe activity of 1 curie.
GSL_CONST_MKSA_ROENTGENThe exposure of 1 roentgen.
GSL_CONST_MKSA_RADThe absorbed dose of 1 rad.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GSL_CONST_MKSA_NEWTONThe SI unit of force, 1 Newton.
GSL_CONST_MKSA_DYNEThe force of 1 Dyne =
Newton.
GSL_CONST_MKSA_JOULEThe SI unit of energy, 1 Joule.
GSL_CONST_MKSA_ERG The energy 1 erg =
Joule.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These constants are dimensionless scaling factors.
GSL_CONST_NUM_YOTTA
GSL_CONST_NUM_ZETTA
GSL_CONST_NUM_EXA
GSL_CONST_NUM_PETA
GSL_CONST_NUM_TERA
GSL_CONST_NUM_GIGA
GSL_CONST_NUM_MEGA
GSL_CONST_NUM_KILO
GSL_CONST_NUM_MILLI
GSL_CONST_NUM_MICRO
GSL_CONST_NUM_NANO
GSL_CONST_NUM_PICO
GSL_CONST_NUM_FEMTO
GSL_CONST_NUM_ATTO
GSL_CONST_NUM_ZEPTO
GSL_CONST_NUM_YOCTO
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following program demonstrates the use of the physical constants in a calculation. In this case, the goal is to calculate the range of light-travel times from Earth to Mars.
The required data is the average distance of each planet from the Sun in astronomical units (the eccentricities and inclinations of the orbits will be neglected for the purposes of this calculation). The average radius of the orbit of Mars is 1.52 astronomical units, and for the orbit of Earth it is 1 astronomical unit (by definition). These values are combined with the MKSA values of the constants for the speed of light and the length of an astronomical unit to produce a result for the shortest and longest light-travel times in seconds. The figures are converted into minutes before being displayed.
|
Here is the output from the program,
light travel time from Earth to Mars: minimum = 4.3 minutes maximum = 21.0 minutes |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The authoritative sources for physical constants are the 2002 CODATA recommended values, published in the articles below. Further information on the values of physical constants is also available from the cited articles and the NIST website.
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by Autobuild on September, 26 2007 using texi2html 1.78.