|
Basic Functionality
|
|
•
|
The ScientificConstants package provides access to the values of various constant physical quantities, for example, the velocity of light and the atomic weight of sodium. These values are required to solve equations in fields such as chemistry and physics. The ScientificConstants package also provides the units for each of the constant values, allowing for greater understanding of the equation as well as units matching for error checking of the solution.
|
|
The quantities available in the ScientificConstants package are divided into two distinct categories.
|
•
|
properties of the chemical elements (and their isotopes)
|
|
Accessing ScientificConstants Package Commands
|
|
•
|
Each command in the ScientificConstants package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
|
>
|
ScientificConstants:-GetConstant(g);
|
>
|
with(ScientificConstants):
|
|
|
Physical Constants
|
|
•
|
The essential ScientificConstants commands used to access fundamental physical constants are:
|
Constant
|
construct a physical constant object
|
GetConstant
|
return the definition of a physical constant
|
GetConstants
|
list the full names or symbols of all physical constants
|
GetError
|
return the uncertainty for a ScientificConstants object
|
GetUnit
|
return the unit object for a ScientificConstants object
|
|
|
|
To display the help page for a particular command, click the corresponding hyperlink.
|
|
Details
|
|
|
|
|
Elements of the Periodic Table
|
|
•
|
The essential ScientificConstants commands used to access the properties of chemical elements and their isotopes are:
|
Element
|
construct an element or isotope object
|
GetElement
|
return the definition of an element or isotope
|
GetElements
|
list the full names or symbols of all elements
|
GetError
|
return the uncertainty for a ScientificConstants object
|
GetIsotopes
|
list the full names or symbols of selected isotopes
|
GetUnit
|
return the unit object for a ScientificConstants object
|
|
|
|
To display the help page for a particular command, click the corresponding hyperlink.
|
|
Details
|
|
|
|
|
|
Examples
|
|
>
|
|
First examine the commands accessing physical constants.
Get the definition of the physical constant c, the speed of light.
| (1) |
Get the value of c.
Get the speed of light with units.
>
|
|
Now examine the commands accessing chemical elements.
Get the definition of sodium.
| (4) |
Get the atomic weight of sodium.
>
|
|
Get the isotopes of sodium.
| (6) |
|
|
|