ScientificConstants - Maple Help

Online Help

All Products    Maple    MapleSim


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

ScientificConstants

  

GetValue

  

return the value of a ScientificConstants object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GetValue( sc_obj )

Parameters

sc_obj

-

ScientificConstants object

Description

• 

Given a ScientificConstants object, that is, a Constant() or Element() object, the GetValue( sc_obj ) command returns the value represented by the object 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.

• 

For Element() objects, if the stored property value is a procedure, it is evaluated with any given parameters of the property as arguments.  Any error is rethrown, although it is expected that such an error would have been thrown at the time of construction of the Element object (when a trial evaluation is done).  The result is passed to the required units conversion.

• 

To access the value of a quantity-with-error object of ScientificErrorAnalysis that is not a ScientificConstants object, use the ScientificErrorAnalysis[GetValue] command.  See ScientificErrorAnalysis and ScientificConstants for more details.

Examples

withScientificConstants:

Constantc

Constantc

(1)

GetValue

299792458

(2)

Units:-UsingSystem

SI

(3)

Constantc,system=CGS

ConstantCGSc

(4)

GetValue

29979245800

(5)

ElementNa,atomicweight

ElementNa,atomicweight

(6)

GetValue

3.81754372710-26

(7)

ElementNa,atomicweight,system=CGS

ElementCGSNa,atomicweight

(8)

GetValue

3.81754372710-23

(9)

See Also

Details of Commands for Elements and Isotopes

Details of Commands for Physical Constants

ScientificConstants

ScientificConstants[Constant]

ScientificConstants[Element]

ScientificConstants[GetError]

ScientificConstants[GetUnit]

ScientificErrorAnalysis and ScientificConstants

ScientificErrorAnalysis[GetValue]

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