summaryrefslogtreecommitdiff
path: root/3717/CH10/EX10.9
diff options
context:
space:
mode:
Diffstat (limited to '3717/CH10/EX10.9')
-rw-r--r--3717/CH10/EX10.9/Ex10_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3717/CH10/EX10.9/Ex10_9.sce b/3717/CH10/EX10.9/Ex10_9.sce
new file mode 100644
index 000000000..687f7f065
--- /dev/null
+++ b/3717/CH10/EX10.9/Ex10_9.sce
@@ -0,0 +1,14 @@
+// Ex10_9 Page:220 (2014)
+clc;clear;
+d = 2.51e-010; // Spacing between adjacent planes, m
+theta = 9; // Glancing angle for diffraction, degree
+n = 1; // Order of diffraction
+lambda = 2*d*sind(theta)/n; // Wavelength of X-ray from Bragg's Law, m
+n = 2; // New order of diffraction
+theta = asind(2*lambda/(2*d)); // Glancing angle for second order diffraction, degree
+printf("\nThe wavelength of X-rays = %6.4f angstrom", lambda/1e-010);
+printf("\nThe glancing angle for second order diffraction = %2d degree", theta);
+
+// Result
+// The wavelength of X-rays = 0.7853 angstrom
+// The glancing angle for second order diffraction = 18 degree \ No newline at end of file