ScientificConstants
GetError
return the uncertainty for a ScientificConstants object
Calling Sequence
Parameters
Description
Examples
GetError( sc_obj )
sc_obj
-
ScientificConstants object
Given a ScientificConstants object, that is, a Constant() or Element() object, the GetError( sc_obj ) command returns the object's uncertainty or "error" in the appropriate system of units. For more information about systems of units, see Units/Systems.
If the ScientificConstants object has no system of units specified, the current system of units is used for evaluation.
If the ScientificConstants object has a system of units specified, by using the 'system' option, that system of units is used for evaluation.
If the uncertainty of the ScientificConstants object has not been defined, undefined is returned.
For derived physical constants, ScientificErrorAnalysis is used to calculate the error.
For Element() objects, if the stored property uncertainty is a procedure, it is evaluated with any given parameters of the property as arguments. Any error is rethrown. The result is passed to the required units conversion.
To access the error of a quantity-with-error object of ScientificErrorAnalysis that is not a ScientificConstants object, use the ScientificErrorAnalysis[GetError] command. See ScientificErrorAnalysis and ScientificConstants for more details.
with⁡ScientificConstants:
Constant⁡c
GetError⁡
0
Constant⁡G
3.1×10−15
Constant⁡me
1.114295438×10−38
Units:-UsingSystem⁡
SI
GetValue⁡
1.223239126×10−8
Determine the absolute (in SI) and relative error of the atomic weight of sodium.
Element⁡Na,atomicweight
3.321080400×10−33
8.699521571×10−8
Determine the absolute (in CGS) and relative error of the atomic weight of sodium.
Element⁡Na,atomicweight,system=CGS
ElementCGS⁡Na,atomicweight
3.321080400×10−30
As expected, in different systems of units, the absolute errors for the atomic weight are different, but the relative errors are the same.
See Also
Details of Commands for Elements and Isotopes
Details of Commands for Physical Constants
ScientificConstants[Constant]
ScientificConstants[Element]
ScientificConstants[GetUnit]
ScientificConstants[GetValue]
ScientificErrorAnalysis and ScientificConstants
ScientificErrorAnalysis[GetError]
Units/Systems
Units[UsingSystem]
Download Help Document