Get Constant - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ScientificConstants

  

GetConstant

  

return the physical constant definition

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GetConstant( descriptor )

Parameters

descriptor

-

name; full name or symbol of a physical constant

Description

• 

The GetConstant( descriptor ) command returns the definition of a physical constant in the ScientificConstants package.

• 

For a nonderived physical constant, the expression sequence returned consists of the constant's full name followed by equations that specify its symbol, value, uncertainty, and units.

  

For a derived physical constant, the expression sequence returned consists of the constant's full name followed by equations that specify its symbol and derivation derive.

  

The right-hand side of the derivation equation is an expression that gives the derivation of the constant in terms of other physical constants, using their currently defined symbols.

• 

The expression sequence returned is in the same format used for the AddConstant function.

Examples

withScientificConstants:

GetConstantG

Newtonian_constant_of_gravitation,symbol=G,value=6.67408×10−11,uncertainty=3.1×10−15,units=m3kgs2

(1)

GetConstantme

electron_mass,symbol=me,derive=2Rhcα2

(2)

See Also

Details of Commands for Physical Constants

Initial Physical Constants

ScientificConstants

ScientificConstants[AddConstant]

ScientificConstants[GetConstants]

ScientificConstants[HasConstant]