diff options
Diffstat (limited to '3636/CH2/EX2.9/Ex2_9.sce')
-rw-r--r-- | 3636/CH2/EX2.9/Ex2_9.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3636/CH2/EX2.9/Ex2_9.sce b/3636/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..c160de628 --- /dev/null +++ b/3636/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+a=8 //number of atoms shared by 8 cells
+b=6 //number of atoms shared by 2 cells
+c=4 //number of atoms shared by a single cell
+L=5.43*10^-8 //Lattice constant in cm
+
+//Calculation
+N=(a/8)+(b/2)+c //no. of atoms in each cell
+Volume=L^3
+Density=8/Volume
+
+mprintf("(a)no. of atoms in each cell= %i\n",N)
+mprintf("(b)Density of atoms in silicon= %.0e atoms cm^-3",round(Density))
+//The answer provided in the textbook is wrong
|