summaryrefslogtreecommitdiff
path: root/3665/CH2/EX2.14/Ex2_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH2/EX2.14/Ex2_14.sce')
-rw-r--r--3665/CH2/EX2.14/Ex2_14.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3665/CH2/EX2.14/Ex2_14.sce b/3665/CH2/EX2.14/Ex2_14.sce
new file mode 100644
index 000000000..79ea68824
--- /dev/null
+++ b/3665/CH2/EX2.14/Ex2_14.sce
@@ -0,0 +1,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")