001: package JSci.physics;
002:
003: import JSci.maths.NumericalConstants;
004:
005: /**
006: * A collection of fundamental physical constants.
007: * All values expressed in SI units.
008: * (Source: CODATA Bulletin No. 63 Nov 1986)
009: * @version 1.0
010: * @author Mark Hale
011: */
012: public interface PhysicalConstants extends NumericalConstants {
013: /**
014: * Planck's constant.
015: */
016: double PLANCK = 6.6260755E-34;
017: /**
018: * Planck's constant divided by 2*Pi (defined).
019: */
020: double H_BAR = PLANCK / TWO_PI;
021: /**
022: * Speed of light in vacuo (exact).
023: */
024: double SPEED_OF_LIGHT = 299792458.0;
025: /**
026: * Permeability constant (exact).
027: */
028: double PERMEABILITY = Math.PI * 4E-7;
029: /**
030: * Permittivity constant (defined).
031: */
032: double PERMITTIVITY = 1.0 / (PERMEABILITY * SPEED_OF_LIGHT * SPEED_OF_LIGHT);
033: /**
034: * Gravitational constant.
035: */
036: double GRAVITATION = 6.67259E-11;
037: /**
038: * Elementary charge.
039: */
040: double CHARGE = 1.60217733E-19;
041: /**
042: * Electron rest mass.
043: */
044: double ELECTRON_MASS = 9.1093897E-31;
045: /**
046: * Proton rest mass.
047: */
048: double PROTON_MASS = 1.6726231E-27;
049: /**
050: * Neutron rest mass.
051: */
052: double NEUTRON_MASS = 1.6749286E-27;
053: /**
054: * Avogadro's constant.
055: */
056: double AVOGADRO = 6.0221367E+23;
057: /**
058: * Molar gas constant.
059: */
060: double MOLAR_GAS = 8.314510;
061: /**
062: * Boltzmann's constant (defined).
063: */
064: double BOLTZMANN = MOLAR_GAS / AVOGADRO;
065: /**
066: * Stefan-Boltzmann constant.
067: */
068: double STEFAN_BOLTZMANN = 5.67051E-8;
069: /**
070: * Rydberg constant (defined).
071: */
072: double RYDBERG = (SPEED_OF_LIGHT * PERMEABILITY)
073: * (SPEED_OF_LIGHT * PERMEABILITY) * SPEED_OF_LIGHT
074: * ELECTRON_MASS * CHARGE * (CHARGE / PLANCK)
075: * (CHARGE / PLANCK) * (CHARGE / PLANCK) / 8.0;
076: /**
077: * Fine structure constant (defined).
078: */
079: double FINE_STRUCTURE = PERMEABILITY * SPEED_OF_LIGHT * CHARGE
080: / PLANCK * CHARGE / 2.0;
081: /**
082: * Faraday constant.
083: */
084: double FARADAY = 96485.309;
085: /**
086: * Magnetic flux quantum (defined).
087: */
088: double FLUX_QUANTUM = PLANCK / (2.0 * CHARGE);
089: /**
090: * Bohr magneton (defined).
091: */
092: double BOHR_MAGNETON = CHARGE / ELECTRON_MASS * H_BAR / 2.0;
093: /**
094: * Magnetic moment of electron.
095: */
096: double ELECTRON_MOMENT = 9.2847701E-24;
097: /**
098: * Magnetic moment of proton.
099: */
100: double PROTON_MOMENT = 1.41060761E-26;
101: }
|