Redundant Rows: Rank of a Matrix

Same example for water and water complexes: use the matrix watmat to store molecular formulas for each type of molecule in the system

"index_24.gif"

"index_25.gif"

The vector molvec is used to store the number of each kind of molecule

"index_26.gif"

"index_27.gif"

The vector atomvec is used to store the number of each atomic species that is present

"index_28.gif"

"index_29.gif"

"index_30.gif"

"index_31.gif"

The vector eq is now defined and its two elements are equations that give the number of hydrogen atoms and the number of oxygen atoms:

"index_32.gif"

"index_33.gif"

"index_34.gif"

"index_35.gif"

"index_36.gif"

"index_37.gif"

"index_38.gif"

"index_39.gif"

"index_40.gif"

"index_41.gif"

"index_42.gif"

"index_43.gif"

"index_44.gif"

"index_45.gif"

"index_46.gif"


Created by Wolfram Mathematica 6.0  (31 August 2007) Valid XHTML 1.1!