ScientificConstants - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

ScientificConstants

 HasConstant
 test whether a physical constant name or symbol is in the ScientificConstants package

 Calling Sequence HasConstant( descriptor )

Parameters

 descriptor - name

Description

 • The HasConstant( descriptor ) command returns true if descriptor is the full name or symbol of a physical constant in the ScientificConstants package.  Otherwise, it returns false.

Examples

 > $\mathrm{with}\left(\mathrm{ScientificConstants}\right):$
 > $\mathrm{HasConstant}\left(c\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{HasConstant}\left(\mathrm{speed_of_light_in_vacuum}\right)$
 ${\mathrm{true}}$ (2)

## Was this information helpful?

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