The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function ExactAtWeight (AtNr: integer): double;

The function ExactAtWeight returns the exact atomic mass of the atom with the atomic number AtNr (referring to C=12.000). The atomic mass returned refers either to the most abundant isotope, or to the most stable isotope. The parameter AtNr may take any value between 1 and 103 (MaxChemElem); a zero value is returned for any invalid argument.

Example: The statement ExactAtWeight (17) returns the value 34.968854 (for chlorine-35)

Example: This function is used in the following example program (see for downloading the code): periosys

Last Update: 2012-Okt-20