diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3717/CH10/EX10.11 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3717/CH10/EX10.11')
-rw-r--r-- | 3717/CH10/EX10.11/Ex10_11.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3717/CH10/EX10.11/Ex10_11.sce b/3717/CH10/EX10.11/Ex10_11.sce new file mode 100644 index 000000000..109c22fd1 --- /dev/null +++ b/3717/CH10/EX10.11/Ex10_11.sce @@ -0,0 +1,17 @@ +// Ex10_11 Page:221 (2014)
+clc;clear;
+h = 6.626e-034; // Planck's constant, Js
+e = 1.6e-019; // Charge on an electron, C
+m = 9.1e-031; // Mass of an electron, kg
+V = 120; // Accelerating potential, volt
+theta = 22; // The angle at which the reflection maximum is observed, degree
+lambda = h/sqrt(2*m*e*V); // Wavelength of a moving electron, m
+h = 1, k = 1, l = 1; // Miller indices of planes from which the reflection occurs
+n = 1; // Order of diffraction
+d_111 = n*lambda/(2*sind(theta)*1e-010); // Interplanar spacing between (1 1 1) planes, m
+a = sqrt(3)*d_111; // Lattice parameter, m
+printf("\nThe lattice parameter = %5.3f angstrom", a);
+
+// Result
+// The lattice parameter = 2.591 angstrom
+// The answers vary due to round off error
\ No newline at end of file |