Details of ScientificConstants Commands for Elements of the Periodic Table
Description
Command Details
In the ScientificConstants package, the term "ScientificConstants object" refers to the objects returned by the Constant command applied to a physical constant or by the Element command applied to a property and an element (or isotope) of the periodic table.
There is a subset of commands that accept both physical constants and elements (or isotopes). However, some commands can be used with only physical constants and others with only elements and isotopes. The following sections give brief descriptions of the functionality available for elements and isotopes in the ScientificConstants package. For more information on these commands, see:
AddElement
add an element or isotope
AddProperty
add an element or isotope property
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
GetProperties
list the names of all element or isotope properties
GetProperty
test whether a symbol is an element or isotope property
GetUnit
return the unit object for a ScientificConstants object
HasElement
test whether an element or isotope is in the ScientificConstants package
HasProperty
test whether a symbol is a property name
ModifyElement
modify an element or isotope definition
For details on the functionality available for physical constants, see Details of ScientificConstants Commands for Physical Constants.
For sample applications, see the example worksheet Applications of the ScientificConstants Package.
For references, see ScientificConstants References.
To access or represent the value of a property of an element of the periodic table, use the Element constructor. For example, the atomic weight of sodium:
with(ScientificConstants):
Element( Na, atomicweight );
Element⁡Na,atomicweight
For a list of elements in the ScientificConstants package, see Initial Elements of the Periodic Table.
With the Element constructor, a second argument specifying a property must be given. For a list of accepted properties, see Initial Properties for Elements and Isotopes
To obtain the value of a ScientificConstants object, use evalf with an element object.
evalf( Element( Na, atomicweight ) );
3.817543727×10−26
Units:-UsingSystem();
SI
The preceding element object was constructed without any reference to a system of units. Thus, when evaluated, it returns the property value in the current system of units. For more information about checking the current system of units, see Units[UsingSystem]. To evaluate it in a different system, first change the system of units with Units[UseSystem].
Units:-UseSystem( CGS );
3.817543727×10−23
To obtain a unit object that contains the units of the ScientificConstants object, use the GetUnit command. For more information about unit objects, see Units[Unit].
GetUnit( Element( Na, atomicweight ) );
g
Units:-UseSystem( SI );
kg
Again, the preceding element object is constructed without any reference to a system of units. Thus, it returns its units in the current system of units.
To construct an element object that always evaluates in a particular system of units, use the 'system' option.
Element( Na, atomicweight, system = Atomic );
ElementAtomic⁡Na,atomicweight
evalf( (7) ),GetUnit( (7) );
41907.81629,em
Notice that the preceding element object has the system of units in which it evaluates displayed in index notation.
By using the 'units' option, the element object is multiplied by the appropriate unit object. This is intended for use in the Standard Units environment.
Element( Na, atomicweight, units );
ElementSI⁡Na,atomicweight⁢kg
evalf( (9) );
3.817543727×10−26⁢kg
Element( Na, atomicweight, system = Atomic, units );
ElementAtomic⁡Na,atomicweight⁢em
If the 'units' option is specified and the 'system' option is not specified, the current system is used.
For some elements, the value of a property is defined under different conditions than those for the majority of elements. In such a case, the Element constructor returns an error, indicating how the value of the related property can be accessed. For example, at standard pressure, which is the condition for the boiling point property, carbon has no liquid state and hence no boiling point.
Element( C, boilingpoint );
Error, (in ScientificConstants:-Element) no boiling point at standard pressure, access sublimation point with parameter 'sp'
Using the constructor with the parameter sp:
Element( C, boilingpoint(sp) );
Element⁡C,boilingpoint⁡sp
evalf((12));
3915.
Thus, for the element carbon, the property boilingpoint is said to be parameterized. See Initial Properties for Elements and Isotopes and ScientificConstants[Element].
Many properties of elements have an associated uncertainty or error, which is a measure of the precision to which their values have been measured experimentally. For example, the atomic weight of sodium:
GetError( Element( Na, atomicweight ) );
3.321080400×10−33
Some properties return an error of undefined, which indicates the error is implicit in the figures of the central value.
The errors returned for ScientificConstants objects are of numeric type and in absolute (not relative) form. That is, the magnitude depends on the system of units. For more information about uncertainties, see GetError.
To view information for an element in the ScientificConstants package, use the GetElement command.
GetElement( Na );
11,symbol=Na,name=sodium,names=sodium,boilingpoint=value=1156.,uncertainty=undefined,units=K,electronaffinity=value=0.547926,uncertainty=0.000025,units=eV,atomicweight=value=22.989770,uncertainty=2.×10−6,units=amu,electronegativity=value=0.93,uncertainty=undefined,units=1,ionizationenergy=value=5.1391,uncertainty=undefined,units=eV,meltingpoint=value=370.87,uncertainty=undefined,units=K,density=value=0.97,uncertainty=undefined,units=gcm3
Note that an element can be identified by its atomic number (first item in the preceding sequence), symbol, or name(s). For example, any identifier can be used in the Element constructor.
To list the elements in the ScientificConstants package, use the GetElements command.
GetElements();
H,He,Li,Be,B,C,N,O,F,Ne,Na,Mg,Al,Si,P,S,Cl,Ar,K,Ca,Sc,Ti,V,Cr,Mn,Fe,Co,Ni,Cu,Zn,Ga,Ge,As,Se,Br,Kr,Rb,Sr,Y,Zr,Nb,Mo,Tc,Ru,Rh,Pd,Ag,Cd,In,Sn,Sb,Te,I,Xe,Cs,Ba,La,Ce,Pr,Nd,Pm,Sm,Eu,Gd,Tb,Dy,Ho,Er,Tm,Yb,Lu,Hf,Ta,W, Re,Os,Ir,Pt,Au,Hg,Tl,Pb,Bi,Po,At,Rn,Fr,Ra,Ac,Th,Pa,U,Np,Pu,Am,Cm,Bk,Cf,Es,Fm,Md,No,Lr,Rf,Db,Sg,Bh,Hs,Mt,Ds,Rg,Cn,Uut,Fl,Uup,Lv,Uus,Uuo
GetElements( output=names )[30];
zinc
GetElement( zinc );
30,symbol=Zn,name=zinc,names=zinc,boilingpoint=value=1180.,uncertainty=undefined,units=K,atomicweight=value=65.39,uncertainty=0.02,units=amu,electronegativity=value=1.65,uncertainty=undefined,units=1,ionizationenergy=value=9.3942,uncertainty=undefined,units=eV,meltingpoint=value=692.68,uncertainty=undefined,units=K,density=value=7.14,uncertainty=undefined,units=gcm3
To check the existence of an element in the ScientificConstants package, use the HasElement command.
HasElement( Na );
true
HasElement( Sy );
false
Elements can be added to the package using the AddElement command. For example, add "maplium".
AddElement(120, name = maplium, symbol = Sy);
GetElement( Sy );
120,symbol=Sy,name=maplium,names=maplium
Element definitions can be modified or extended, for example, by adding a value for an accepted property. To list the accepted element properties, use the GetProperties command.
GetProperties();
atomicweight,boilingpoint,density,electronaffinity,electronegativity,ionizationenergy,meltingpoint
Now add the atomic weight to the element definition using the ModifyElement command.
ModifyElement( Sy, atomicweight= [value = 297, units = u] );
GetElement( 120 );
120,symbol=Sy,name=maplium,names=maplium,atomicweight=value=297,uncertainty=undefined,units=amu
To add a new property to the element system, use the AddProperty command.
AddProperty( atomicradius );
atomicradius,atomicweight,boilingpoint,density,electronaffinity,electronegativity,ionizationenergy,meltingpoint
To check the existence of a property in the ScientificConstants package, use the HasProperty command. To check whether it is an element or isotopic property, use the GetProperty command.
HasProperty( atomicradius );
GetProperty( atomicradius );
atomicradius,isotopic=false
For more information on isotopes, see the following section.
Isotopes
In the ScientificConstants package, isotopes are specified by using isotope syntax, which consists of the element atomic number, symbol, or name and the isotope mass number. For example, valid isotope syntaxes for the lead-204 isotope (mass number 204) are 82,204, Pb204, lead204, Pb204, and lead204. The commands used previously for elements can be used for isotopes.
GetElement( Pb[204] );
Pb204,abundance=value=0.014,uncertainty=0.001,units=1,bindingenergy=value=1.607520418×106,uncertainty=2.944,units=keV,massexcess=value=−25123.544,uncertainty=2.931,units=keV,atomicmass=value=203.973029,uncertainty=3.×10−6,units=amu,halflife=value=1.4×1017,uncertainty=undefined,units=yr
Element( Pb[204], atomicmass );
Element⁡Pb204,atomicmass
To list the isotopes of an element in the ScientificConstants package, use the GetIsotopes command with the option 'element'=elem.
GetIsotopes( element=Pb );
Pb181,Pb182,Pb183,Pb184,Pb185,Pb186,Pb187,Pb188,Pb189,Pb190,Pb191,Pb192,Pb193,Pb194,Pb195,Pb196,Pb197,Pb198,Pb199,Pb200,Pb201,Pb202,Pb203,Pb204,Pb205,Pb206,Pb207,Pb208,Pb209,Pb210,Pb211,Pb212,Pb213,Pb214,Pb215
To list the names of accepted isotopic properties, use the GetProperties command with the option 'isotopic'.
GetProperties( isotopic );
abundance,atomicmass,betadecayenergy,bindingenergy,electronaffinityisotopic,halflife,massexcess
See Also
Applications of the ScientificConstants Package
evalf
Initial Elements of the Periodic Table
Initial Properties for Elements and Isotopes
ScientificConstants
ScientificConstants References
ScientificConstants[AddElement]
ScientificConstants[AddProperty]
ScientificConstants[Element]
ScientificConstants[GetElement]
ScientificConstants[GetElements]
ScientificConstants[GetError]
ScientificConstants[GetIsotopes]
ScientificConstants[GetProperties]
ScientificConstants[GetProperty]
ScientificConstants[GetUnit]
ScientificConstants[HasElement]
ScientificConstants[HasProperty]
ScientificConstants[ModifyElement]
ScientificErrorAnalysis and ScientificConstants
Standard Units
Units[Unit]
Units[UseSystem]
Units[UsingSystem]
Download Help Document