diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2309/CH5/EX5.a.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2309/CH5/EX5.a.8')
-rwxr-xr-x | 2309/CH5/EX5.a.8/A_Ex5_8.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2309/CH5/EX5.a.8/A_Ex5_8.sce b/2309/CH5/EX5.a.8/A_Ex5_8.sce new file mode 100755 index 000000000..c7444c683 --- /dev/null +++ b/2309/CH5/EX5.a.8/A_Ex5_8.sce @@ -0,0 +1,21 @@ +// Chapter 5 additional Example 8
+//==============================================================================
+clc;
+clear;
+// input data
+a = 4*10^-10; // lattice constant of the crystal
+h = 1 // miller indice
+k = 0 // miller indice
+l = 0 // miller indice
+
+//Calculations
+
+// in fig consider (100) plane. the no of atoms in plane ABCD
+N = 4*(1/4); // Number of atoms
+p = N/(a*a); // planar atomic density in atoms/m^2
+p1 = p*10^-6 // planar atomic density in atoms/mm^2
+
+//Output
+mprintf('planar atomic density = %3.2e atoms/mm^2',p1);
+//==============================================================================
+
|