From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3717/CH10/EX10.9/Ex10_9.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 3717/CH10/EX10.9/Ex10_9.sce (limited to '3717/CH10/EX10.9/Ex10_9.sce') 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 -- cgit