ScientificConstants - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Scientific Constants : Functions : ScientificConstants/GetError

ScientificConstants

  

GetError

  

return the uncertainty for a ScientificConstants object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GetError( sc_obj )

Parameters

sc_obj

-

ScientificConstants object

Description

• 

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.

Examples

withScientificConstants:

Constantc

Constantc

(1)

GetError

0

(2)

ConstantG

ConstantG

(3)

GetError

1.010-13

(4)

Constantme

Constantme

(5)

GetError

7.17922183710-38

(6)

Units:-UsingSystem

SI

(7)

GetValue

7.88112951010-8

(8)

Determine the absolute (in SI) and relative error of the atomic weight of sodium.

ElementNa,atomicweight

ElementNa,atomicweight

(9)

GetError

3.32108040010-33

(10)

GetValue

8.69952157110-8

(11)

Determine the absolute (in CGS) and relative error of the atomic weight of sodium.

ElementNa,atomicweight,system=CGS

ElementCGSNa,atomicweight

(12)

GetError

3.32108040010-30

(13)

GetValue

8.69952157110-8

(14)

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

ScientificConstants[Constant]

ScientificConstants[Element]

ScientificConstants[GetUnit]

ScientificConstants[GetValue]

ScientificErrorAnalysis and ScientificConstants

ScientificErrorAnalysis[GetError]

Units/Systems

Units[UsingSystem]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam