diff options
Diffstat (limited to '3636/CH2/EX2.1/Ex2_1.sce')
-rw-r--r-- | 3636/CH2/EX2.1/Ex2_1.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3636/CH2/EX2.1/Ex2_1.sce b/3636/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..486ab5ea6 --- /dev/null +++ b/3636/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,10 @@ +clc;
+clear;
+disp("Each corner sphere of the bcc unit cell is shared with eigth neighbouring cells.Thus each cell contains one eigth of a sphere at all the eigth corners.Each unit cell also contains one central sphere")
+S=2 //Sphere per unit cell
+
+//Calculation
+f=S*%pi*sqrt(3)/16 //maximum fraction of a unit cell
+
+mprintf("bcc unit cell volume filled with hard sphere= %i %%",round(f*100))
+
|