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 /1535/CH6/EX6.9 | |
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 '1535/CH6/EX6.9')
-rwxr-xr-x | 1535/CH6/EX6.9/Ch06Ex9.sci | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1535/CH6/EX6.9/Ch06Ex9.sci b/1535/CH6/EX6.9/Ch06Ex9.sci new file mode 100755 index 000000000..95ea7edab --- /dev/null +++ b/1535/CH6/EX6.9/Ch06Ex9.sci @@ -0,0 +1,18 @@ +// Scilab Code Ex6.9 : X-ray Diffraction by crystal planes: Page-137 (2010)
+// For (221) planes
+h = 2; k = 2; l = 1; // Miller Indices for planes in a cubic crystal
+a = 2.68e-010; // Interatomic spacing, m
+n = 1; // First Order of diffraction
+theta = 8.5; // Glancing angle at which Bragg's reflection occurs, degrees
+d = a/(h^2+k^2+l^2)^(1/2); // The interplanar spacing for cubic crystal, m
+lambda = 2*d*sind(theta); // Bragg's Law for wavelength of X-rays, m
+n = 2; // Second order of diffraction
+theta = asind(n*lambda/(2*d)); // Angle at which second order Bragg reflection occurs, degrees
+printf("\nThe interplanar spacing between consecutive (221) planes = %5.3e", d);
+printf("\nThe wavelength of X-rays = %5.3f angstrom", lambda/1e-010);
+printf("\nThe angle at which second order Bragg reflection occurs = %4.1f degrees", theta);
+
+// Result
+// The interplanar spacing between consecutive (221) planes = 8.933e-011
+// The wavelength of X-rays = 0.264 angstrom
+// The angle at which second order Bragg reflection occurs = 17.2 degrees
\ No newline at end of file |