summaryrefslogtreecommitdiff
path: root/3526/CH3/EX3.3/EX3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3526/CH3/EX3.3/EX3_3.sce')
-rw-r--r--3526/CH3/EX3.3/EX3_3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3526/CH3/EX3.3/EX3_3.sce b/3526/CH3/EX3.3/EX3_3.sce
new file mode 100644
index 000000000..56c0c9094
--- /dev/null
+++ b/3526/CH3/EX3.3/EX3_3.sce
@@ -0,0 +1,8 @@
+//page 56
+clc;funcprot(0);//EXAMPLE 3.14
+// Initialisation of Variables
+r=1;.........// one unit of radius of each atom of FCC cell
+a0=(4*r)/sqrt(2);..........//Lattice constant for FCC cell
+v=(4*%pi*r^3)/3;.........//volume of one atom in FCC cell
+Pf=(4*v)/(a0)^3;........//Packing factor in FCC cell
+disp(Pf,"Packing factor in FCC cell")