summaryrefslogtreecommitdiff
path: root/3665/CH2/EX2.14/Ex2_14.sce
blob: 79ea68824780f6537516734912999cb54ba578d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc//
//
//

//Variable declaration
r=0.1249*10^-9;     //radius(m)
pf=0.68;      //packing factor

//Calculation
a=4*r/sqrt(3);    //lattice constant(m)
v=a^3;     //volume of unit cell(m^3)
Fv=(1-pf)*v;     //free volume per unit cell(m^3)

//Result
printf("\n free volume per unit cell is %0.4f *10^-30 m^3",Fv*10^30)
printf("\n answer varies due to rounding off errors")