blob: df74c7af5854f176c96264ebf9458c9cd907828b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 13.4//
S=32.06;//amu //atomic mass of sulphur //(From Appendix 1)
C=12.01;//amu //atomic mass of carbon //(From Appendix 1)
H=1.008;//amu //atomic mass of hydrogen //(From Appendix 1)
a=5;//Number of atoms
b=8;//Number of atoms
ms=S/((a*C)+(b*H))*100
mprintf("ms = %f ",ms)
c=20;//g //amount of sulphur added
fr=c/ms
mprintf("\nfr = %f ",fr)
|