Physics.findConstants

Returns an array of objects describing physical constants whose names match the search string.

Syntax

findConstants(searchString?)

Parameters

Return value

An array of objects describing physical constants.

Each physical constant object contains the following properties:

If no constants were found, returns an empty array.

Examples

Physics.findConstants("wien")
[{
  name: "Wien displacement law constant",
  value: 0.0028977685,
  unit: "m K",
  uncertainty: 5.1e-9
}, {
  name: "Wien frequency displacement law constant",
  value: 58789257570,
  unit: "Hz K^-1",
  uncertainty: 0
}, {
  name: "Wien wavelength displacement law constant",
  value: 0.002897771955,
  unit: "m K",
  uncertainty: 0
}]
Physics.findConstants("ufo")
[]

See also