Unit: | SDL_cdata | Class: | none | Declaration: | function ChemAtWeight (AtNr: integer): double; |
The function ChemAtWeight returns the chemical atomic weight (the average mass) for the atom with the atomic number AtNr. AtNr may take values between 1 and 103 (MaxChemElem), for any other values, ChemAtWeight returns 0.0.
Hint: |
Elements which don’t have any stable (or long living) isotopes are not occurring in nature. It is therefore meaningless to specify an average mass. For those elements (e.g. Tc) ChemAtWeight returns a zero value. |
Example: |
The statement ChemAtWeight(17) returns the value 35.453000 (the average mass of chlorine). |
|