summaryrefslogtreecommitdiff
path: root/710/CH2/EX2.2/2_2.sci
blob: d2ccddb6617e7e0c5351916524da3d6abf38cebd (plain)
1
2
3
4
5
6
7
clc();
clear;
//To determine the free volume per unit cell
r=2.3;                                 //atomic radius
a=(4*r)/sqrt(3);
fv=((a)^3-(2*(4/3)*%pi*r^3))*10^-30   //free volume in m^3
printf("The free volume per unit cell is %e m^3",fv);