summaryrefslogtreecommitdiff
path: root/3557/CH12/EX12.3/Ex12_3.sce
blob: fe22e4ccc912b5ad5f0b4910772393961e51cdb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Example12.3//
Li=6.94;//amu //atomic mass of Lithium
O=16.00;//amu //atomic mass of Oxygen
a=2;//Number of atoms 
LiO2=a*Li+O
mprintf("LiO2 = %f amu",LiO2)
Al=26.98;//amu
b=3;//Number of atoms
Al2O3=a*Al+b*O
mprintf("\nAl2O3 = %f amu",Al2O3)
Si=28.09;//amu //atomic mass of Silicon
SiO2=Si+a*O
mprintf("\nSiO2 = %f amu",SiO2)
g=4;//given
wt1=(LiO2)/(LiO2+Al2O3+g*SiO2 )*100
mprintf("\nwt1 = %f percent",wt1)
wt2=Al2O3/(LiO2+Al2O3+g*SiO2 )*100
mprintf("\nwt2 = %f percent",wt2)
wt3=(g*SiO2)/(LiO2+Al2O3+g*SiO2 )*100
mprintf("\nwt3 = %f perecent ",wt3)