blob: f24a0de82311ab77b30cd967a10ef458e8feb8fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 14.2//
C=12.01;//amu // atomic mass of Carbon
H=1.008;//amu //atomic mass of hydrogen
O=16.00;//amu //atomic mass of oxygen
a=200;//degree of polymerization
b=6;//numbers of atoms
e=10;//numbers of atoms
d=5;//numbers of atoms
mw=(a)*(b*C+e*H+d*O)
mprintf("mw = %i g/mol (Answer calculated in the texbook is wrong)",mw)
|