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 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

 > $\mathrm{with}\left(\mathrm{ScientificConstants}\right):$
 > $\mathrm{GetConstant}\left(G\right)$
 ${\mathrm{Newtonian_constant_of_gravitation}}{,}{\mathrm{symbol}}{=}{G}{,}{\mathrm{value}}{=}{6.67408}{×}{{10}}^{{-11}}{,}{\mathrm{uncertainty}}{=}{3.1}{×}{{10}}^{{-15}}{,}{\mathrm{units}}{=}\frac{{{m}}^{{3}}}{{\mathrm{kg}}{}{{s}}^{{2}}}$ (1)
 > $\mathrm{GetConstant}\left(m\left[e\right]\right)$
 ${\mathrm{electron_mass}}{,}{\mathrm{symbol}}{=}{{m}}_{{e}}{,}{\mathrm{derive}}{=}\frac{{2}{}{{R}}_{{\mathrm{\infty }}}{}{h}}{{c}{}{{\mathrm{\alpha }}}^{{2}}}$ (2)