summaryrefslogtreecommitdiff
path: root/3557/CH2/EX2.2/Ex2_2.sce
blob: 4e76dc358a8da91ff7bbed3e6141b2a0b7f70c1f (plain)
1
2
3
4
5
6
7
8
9
//Example 2.2//
a=24.31;//g //atomic mass of Mg (in gram)
a1=16.00;//g //atomic mass of O (in gram)
m=a+a1;// mass of 1 mol of MgO
mprintf("m = %f g ",m)
v=22.37;//mm //Volume
b=10^-3;//cm^3/mm^3
d=m/(v^3*b)
mprintf("\nd = %f g/cm^3",d)