constants

coulomb.units.constants$
object constants

A selection of physical constants.

Constants are as as defined in the following table:

All units tagged as either "universal" or "frequently-used" in this table are defined. Other constant definitions can be included on request.

Attributes

Source:
constants.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object infra

Attributes

Source:
constants.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
infra.type

Types

atomic mass constant: 1.66053906660(50)×10−27 kg

atomic mass constant: 1.66053906660(50)×10−27 kg

Attributes

Source:
constants.scala
final type AvogadroConstant

Avogadro's number: 6.02214076×10+23 mol-1

Avogadro's number: 6.02214076×10+23 mol-1

Attributes

Source:
constants.scala
final type BohrMagneton

Bohr magneton: 9.2740100783(28)×10−24 J/T

Bohr magneton: 9.2740100783(28)×10−24 J/T

Attributes

Source:
constants.scala
final type BohrRadius

Bohr radius: 5.29177210903(80)×10−11 m

Bohr radius: 5.29177210903(80)×10−11 m

Attributes

Source:
constants.scala

Boltzmann's constant: 1.380649×10−23 J⋅K−1

Boltzmann's constant: 1.380649×10−23 J⋅K−1

Attributes

Source:
constants.scala

Characteristic impedance of vacuum: 376.730313668(57) Ω

Characteristic impedance of vacuum: 376.730313668(57) Ω

Attributes

Source:
constants.scala

Classical electron radius: 2.8179403262(13)×10−15 m

Classical electron radius: 2.8179403262(13)×10−15 m

Attributes

Source:
constants.scala

Conductance quantum: 7.748091729...×10−5 S

Conductance quantum: 7.748091729...×10−5 S

Attributes

Source:
constants.scala
final type ElectronGFactor

Electron g-factor: −2.00231930436256(35)

Electron g-factor: −2.00231930436256(35)

Attributes

Source:
constants.scala
final type ElectronMass

Electron mass: 9.1093837015(28)×10−31 kg

Electron mass: 9.1093837015(28)×10−31 kg

Attributes

Source:
constants.scala
final type ElectronVolt

electron volt: 1.602176634×10−19 J

electron volt: 1.602176634×10−19 J

Attributes

Source:
constants.scala
final type ElementaryCharge

The elementary charge: 1.602176634×10−19 C

The elementary charge: 1.602176634×10−19 C

Attributes

Source:
constants.scala
final type FaradayConstant

Faraday constant: 96485.33212... C/mol

Faraday constant: 96485.33212... C/mol

Attributes

Source:
constants.scala

Fermi coupling constant: 1.1663787(6)×10−5 GeV−2

Fermi coupling constant: 1.1663787(6)×10−5 GeV−2

Attributes

Source:
constants.scala

Fine structure constant: 7.2973525693(11)×10−3

Fine structure constant: 7.2973525693(11)×10−3

Attributes

Source:
constants.scala

Newton's constant of gravitation: 6.67430(15)×10−11 m3⋅kg−1⋅s−2

Newton's constant of gravitation: 6.67430(15)×10−11 m3⋅kg−1⋅s−2

Attributes

Source:
constants.scala

Inverse fine structure constant: 137.035999084

Inverse fine structure constant: 137.035999084

Attributes

Source:
constants.scala

Josephson constant: 483597.8484...×10+9 Hz/V

Josephson constant: 483597.8484...×10+9 Hz/V

Attributes

Source:
constants.scala

Magnetic flux quantum: 2.067833848...×10−15 Wb

Magnetic flux quantum: 2.067833848...×10−15 Wb

Attributes

Source:
constants.scala
final type MolarGasConstant

Molar gas constant: 8.314462618... J/(mol⋅K)

Molar gas constant: 8.314462618... J/(mol⋅K)

Attributes

Source:
constants.scala

Molar mass constant: 0.99999999965(30)×10−3 kg/mol

Molar mass constant: 0.99999999965(30)×10−3 kg/mol

Attributes

Source:
constants.scala
final type NeutronMass

Neutron mass: 1.67492749804(95)×10−27 kg

Neutron mass: 1.67492749804(95)×10−27 kg

Attributes

Source:
constants.scala
final type NuclearMagneton

Nuclear magneton: 5.0507837461(15)×10−27 J/T

Nuclear magneton: 5.0507837461(15)×10−27 J/T

Attributes

Source:
constants.scala
final type PlanckConstant

Planck's constant: 6.62607015×10−34 J⋅s

Planck's constant: 6.62607015×10−34 J⋅s

Attributes

Source:
constants.scala
final type ProtonMass

Proton mass: 1.67262192369(51)×10−27 kg

Proton mass: 1.67262192369(51)×10−27 kg

Attributes

Source:
constants.scala

Reduced Planck Constant: 1.054571817×10−34 J⋅s

Reduced Planck Constant: 1.054571817×10−34 J⋅s

Attributes

Source:
constants.scala
final type SpeedOfLight

Speed of light in a vacuum: 299792458 m/s

Speed of light in a vacuum: 299792458 m/s

Attributes

Source:
constants.scala

Stefan-Boltzmann constant: 5.670374419...×10−8 W⋅m−2⋅K−4

Stefan-Boltzmann constant: 5.670374419...×10−8 W⋅m−2⋅K−4

Attributes

Source:
constants.scala

Vacuum electric permittivity: 8.8541878128(13)×10−12 F/m

Vacuum electric permittivity: 8.8541878128(13)×10−12 F/m

Attributes

Source:
constants.scala

Vacuum magnetic permeability: 1.25663706212(19)×10−6 N⋅A−2

Vacuum magnetic permeability: 1.25663706212(19)×10−6 N⋅A−2

Attributes

Source:
constants.scala

Von Klitzing constant: 25812.80745... Ω

Von Klitzing constant: 25812.80745... Ω

Attributes

Source:
constants.scala

Value members

Concrete methods

transparent inline def constant[V, CU](using cq: ConstQ[CU], vc: ValueConversion[Rational, V]): Quantity[V, QU]

Obtain a Quantity representing a physical constant

Obtain a Quantity representing a physical constant

Attributes

CU

the unit type name representing the constant

V

the desired value type of the constant

Returns:

a value Quantity[V, QU] where QU is the unit type of the constant

import coulomb.units.constants.{*, given}
val planck = constant[Double, PlanckConstant]
planck.show // => "6.62607015E-34 J s"
Source:
constants.scala

Givens

Givens

given ctx_unit_AtomicMassConstant: DerivedUnit[AtomicMassConstant, 166053906660L / 10 ^ 38 * Kilogram, "atomic-mass-constant", "mᵤ"]

Attributes

Source:
constants.scala
given ctx_unit_AvogadroConstant: DerivedUnit[AvogadroConstant, 602214076L * 10 ^ 15 / Mole, "avogadro-constant", "Nₐ"]

Attributes

Source:
constants.scala
given ctx_unit_BohrMagneton: DerivedUnit[BohrMagneton, 92740100783L / 10 ^ 34 * Joule / Tesla, "bohr-magneton", "μB"]

Attributes

Source:
constants.scala
given ctx_unit_BohrRadius: DerivedUnit[BohrRadius, 529177210903L / 10 ^ 22 * Meter, "bohr-radius", "a₀"]

Attributes

Source:
constants.scala
given ctx_unit_BoltzmannConstant: DerivedUnit[BoltzmannConstant, 1380649L / 10 ^ 29 * Joule / Kelvin, "boltzmann-constant", "k"]

Attributes

Source:
constants.scala
given ctx_unit_CharacteristicImpedanceOfVacuum: DerivedUnit[CharacteristicImpedanceOfVacuum, 376730313668L / 10 ^ 9 * Ohm, "characteristic-impedance-of-vacuum", "Z₀"]

Attributes

Source:
constants.scala
given ctx_unit_ClassicalElectronRadius: DerivedUnit[ClassicalElectronRadius, 28179403262L / 10 ^ 25 * Meter, "classical-electron-radius", "rₑ"]

Attributes

Source:
constants.scala
given ctx_unit_ConductanceQuantum: DerivedUnit[ConductanceQuantum, 7748091729L / 10 ^ 14 * Siemens, "conductance-quantum", "G₀"]

Attributes

Source:
constants.scala
given ctx_unit_ElectronGFactor: DerivedUnit[ElectronGFactor, -200231930436256L / 10 ^ 14, "electron-g-factor", "rₑ"]

Attributes

Source:
constants.scala
given ctx_unit_ElectronMass: DerivedUnit[ElectronMass, 91093837015L / 10 ^ 41 * Kilogram, "electron-mass", "mₑ"]

Attributes

Source:
constants.scala
given ctx_unit_ElectronVolt: DerivedUnit[ElectronVolt, 1602176634L / 10 ^ 28 * Joule, "electron-volt", "eV"]

Attributes

Source:
constants.scala
given ctx_unit_ElementaryCharge: DerivedUnit[ElementaryCharge, 1602176634L / 10 ^ 28 * Coulomb, "elementary-charge", "e"]

Attributes

Source:
constants.scala
given ctx_unit_FaradayConstant: DerivedUnit[FaradayConstant, 9648533212L / 10 ^ 5 * Coulomb / Mole, "faraday-constant", "F"]

Attributes

Source:
constants.scala
given ctx_unit_FermiCouplingConstant: DerivedUnit[FermiCouplingConstant, 11663787L / 10 ^ 12 * Giga * ElectronVolt ^ -2, "fermi-coupling-constant", "GF"]

Attributes

Source:
constants.scala
given ctx_unit_FineStructureConstant: DerivedUnit[FineStructureConstant, 72973525693L / 10 ^ 13, "fine-structure-constant", "α"]

Attributes

Source:
constants.scala
given ctx_unit_GravitationalConstant: DerivedUnit[GravitationalConstant, 667430 / 10 ^ 16 * Meter ^ 3 / Kilogram * Second ^ 2, "gravitational-constant", "G"]

Attributes

Source:
constants.scala
given ctx_unit_InverseFineStructureConstant: DerivedUnit[InverseFineStructureConstant, 137035999084L / 10 ^ 9, "inverse-fine-structure-constant", "α⁻ⁱ"]

Attributes

Source:
constants.scala
given ctx_unit_JosephsonConstant: DerivedUnit[JosephsonConstant, 4835978484L * 10 ^ 5 * Hertz / Volt, "josephson-constant", "Kⱼ"]

Attributes

Source:
constants.scala
given ctx_unit_MagneticFluxQuantum: DerivedUnit[MagneticFluxQuantum, 2067833848L / 10 ^ 24 * Weber, "magnetic-flux-quantum", "Φ₀"]

Attributes

Source:
constants.scala
given ctx_unit_MolarGasConstant: DerivedUnit[MolarGasConstant, 8314462618L / 10 ^ 9 * Joule / Mole * Kelvin, "molar-gas-constant", "R"]

Attributes

Source:
constants.scala
given ctx_unit_MolarMassConstant: DerivedUnit[MolarMassConstant, 99999999965L / 10 ^ 14 * Kilogram / Mole, "molar-mass-constant", "Mᵤ"]

Attributes

Source:
constants.scala
given ctx_unit_NeutronMass: DerivedUnit[NeutronMass, 167492749804L / 10 ^ 38 * Kilogram, "neutron-mass", "mₚ"]

Attributes

Source:
constants.scala
given ctx_unit_NuclearMagneton: DerivedUnit[NuclearMagneton, 50507837461L / 10 ^ 37 * Joule / Tesla, "nuclear-magneton", "μₙ"]

Attributes

Source:
constants.scala
given ctx_unit_PlanckConstant: DerivedUnit[PlanckConstant, 662607015 / 10 ^ 42 * Joule * Second, "planck-constant", "ℎ"]

Attributes

Source:
constants.scala
given ctx_unit_ProtonMass: DerivedUnit[ProtonMass, 167262192369L / 10 ^ 38 * Kilogram, "proton-mass", "mₚ"]

Attributes

Source:
constants.scala
given ctx_unit_ReducedPlanckConstant: DerivedUnit[ReducedPlanckConstant, 1054571817 / 10 ^ 43 * Joule * Second, "reduced-planck-constant", "ℏ"]

Attributes

Source:
constants.scala
given ctx_unit_SpeedOfLight: DerivedUnit[SpeedOfLight, 299792458 * Meter / Second, "speed-of-light", "c"]

Attributes

Source:
constants.scala
given ctx_unit_StefanBoltzmannConstant: DerivedUnit[StefanBoltzmannConstant, 5670374419L / 10 ^ 17 * Watt / Meter ^ 2 * Kelvin ^ 4, "stefan-boltzmann-constant", "𝞼"]

Attributes

Source:
constants.scala
given ctx_unit_VacuumElectricPermittivity: DerivedUnit[VacuumElectricPermittivity, 88541878128L / 10 ^ 22 * Farad / Meter, "vacuum-electric-permittivity", "ε₀"]

Attributes

Source:
constants.scala
given ctx_unit_VacuumMagneticPermeability: DerivedUnit[VacuumMagneticPermeability, 125663706212L / 10 ^ 17 * Newton / Ampere ^ 2, "vacuum-magnetic-permeability", "μ₀"]

Attributes

Source:
constants.scala
given ctx_unit_VonKlitzingConstant: DerivedUnit[VonKlitzingConstant, 2581280745L / 10 ^ 5 * Ohm, "von-klitzing-constant", "Rₖ"]

Attributes

Source:
constants.scala

Exports

Defined exports

final type Ampere = Ampere
Exported from mksa$

Attributes

Source:
constants.scala
final type Coulomb = Coulomb
Exported from mksa$

Attributes

Source:
constants.scala
final type Farad = Farad
Exported from mksa$

Attributes

Source:
constants.scala
final type Giga = Giga
Exported from prefixes$

Attributes

Source:
constants.scala
final type Henry = Henry
Exported from mksa$

Attributes

Source:
constants.scala
final type Hertz = Hertz
Exported from mksa$

Attributes

Source:
constants.scala
final type Joule = Joule
Exported from mksa$

Attributes

Source:
constants.scala
final type Kelvin = Kelvin
Exported from si$

Attributes

Source:
constants.scala
final type Kilogram = Kilogram
Exported from mksa$

Attributes

Source:
constants.scala
final type Meter = Meter
Exported from mksa$

Attributes

Source:
constants.scala
final type Mole = Mole
Exported from si$

Attributes

Source:
constants.scala
final type Newton = Newton
Exported from mksa$

Attributes

Source:
constants.scala
final type Ohm = Ohm
Exported from mksa$

Attributes

Source:
constants.scala
final type Pascal = Pascal
Exported from mksa$

Attributes

Source:
constants.scala
final type Radian = Radian
Exported from mksa$

Attributes

Source:
constants.scala
final type Second = Second
Exported from mksa$

Attributes

Source:
constants.scala
final type Siemens = Siemens
Exported from mksa$

Attributes

Source:
constants.scala
final type Steradian = Steradian
Exported from mksa$

Attributes

Source:
constants.scala
final type Tesla = Tesla
Exported from mksa$

Attributes

Source:
constants.scala
final type Volt = Volt
Exported from mksa$

Attributes

Source:
constants.scala
final type Watt = Watt
Exported from mksa$

Attributes

Source:
constants.scala
final type Weber = Weber
Exported from mksa$

Attributes

Source:
constants.scala
Exported from mksa

Attributes

Source:
si.scala
Exported from mksa

Attributes

Source:
mksa.scala
Exported from mksa

Attributes

Source:
mksa.scala
Exported from prefixes

Attributes

Source:
si.scala
Exported from mksa

Attributes

Source:
mksa.scala
Exported from mksa

Attributes

Source:
mks.scala
Exported from mksa

Attributes

Source:
mks.scala
Exported from si

Attributes

Source:
si.scala
Exported from mksa

Attributes

Source:
si.scala
Exported from mksa

Attributes

Source:
si.scala
Exported from si

Attributes

Source:
si.scala
Exported from mksa

Attributes

Source:
mks.scala
Exported from mksa

Attributes

Source:
mksa.scala
Exported from mksa

Attributes

Source:
mks.scala
Exported from mksa

Attributes

Source:
mks.scala
Exported from mksa

Attributes

Source:
si.scala
Exported from mksa

Attributes

Source:
mksa.scala
Exported from mksa

Attributes

Source:
mks.scala
Exported from mksa

Attributes

Source:
mksa.scala
Exported from mksa

Attributes

Source:
mksa.scala
Exported from mksa

Attributes

Source:
mks.scala
Exported from mksa

Attributes

Source:
mksa.scala