Mathematica: v12.3.1.0: How to obtain values of physical constants

Webel IT Australia promotes the amazing Mathematica tool and the powerful Wolfram Language and offers professional Mathematica services for computational computing and data analysis. Our Mathematica tips, issue tracking, and wishlist is offered here most constructively to help improve the tool and language and support the Mathematica user community.
DISCLAIMER: Wolfram Research does not officially endorse analysis by Webel IT Australia.
Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Keywords

As of version 9.0, physical constant functionality is built into the Wolfram Language. However, it's now so obvious how to get at the actual value of some constants.

Consider, for example, the Stefan-Boltzmann Constant:


FormulaLookup["stefan"]

{"StefanBoltzmannLaw"}


FormulaData["StefanBoltzmannLaw"]

M == (σ) T4 ε

Mathematica has a definition of the σ, but it's not obvious how to get at the value and use it (unless you are using it for a scaled Stefan-Boltzmann units system). The following will access it to the desired numerical precision:


N[UnitConvert@Quantity@"StefanBoltzmannConstant", 10]

 5.670374419 x 10-8 kg/(s3K4)

To find the list of all of the known names of physical constants use:

Sort@Keys@QuantityUnits`Private`$UnitReplacementRules
Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)
External links