Chemical Formulas
Chemical Formulas
Out[]=
Consider an ammonia molecule.
Out[]=
Creation
Creation
An ammonia molecule:
ChemicalFormula["NH3"]
Out[]=
A uranyl dication:
ChemicalFormula["UO2+2"]
Out[]=
A helium atom:
ChemicalFormula["He"]
Out[]=
Phase information can be specified using a second argument or including it directly in the formula string.
Liquid ammonia:
ChemicalFormula["NH3",<|"Phase"->"Liquid"|>]
Out[]=
Aqueous uranyl dication:
ChemicalFormula["UO2+2(aq)"]
Out[]=
Get the chemical formula from a chemical entity, molecule and biomolecular sequence:
MapChemicalFormula,,Molecule,BioSequence
Out[]=
,,
A condensed formula for N-octanol:
ChemicalFormula["CH3(CH2)7OH"]
Out[]=
The empirical formula for n-octanol:
ChemicalFormula["CH3(CH2)4CH3"]["EmpiricalFormula"]
Out[]=
Properties
Properties
Chemical formula objects have many of the same properties of other chemistry objects.
The properties of the chemical formula for n-hexane:
Out[]=
Property | Value |
AtomCount | 20 |
ElementCounts | |
ElementMassFraction | |
EmpiricalFormula | |
Formula | C H 3 (C H 2 4 H 3 |
FormulaString | CH3(CH2)4CH3 |
HillFormula | |
HillFormulaString | C6H14 |
MolarMass | |
MolecularMass | |
NetCharge | 0 |
Phase | Missing[Unspecified] |
RelativeMolecularMass | 86.18 |
Out[]=