blob: acbd5bb4e77f9c9a48c6f29dbb6d96e7390d9416 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 2.3//
d= 1.74;// g/cm^3 //density of Mg
a= 24.31;//amu //atomic mass of Mg
v=a/d;// volume of 1 mol
mprintf("v = %f cm^3/mol",v)
c=10;//mm/cm
e= (v)^(1/3);//cm //edge of cube
//mprintf("\ne = %f cm",e)
e1=e*c
mprintf("\ne1 = %f mm",e1)
|