From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1271/CH13/EX13.14/14.txt | 2 ++ 1271/CH13/EX13.14/example13_14.sce | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 1271/CH13/EX13.14/14.txt create mode 100755 1271/CH13/EX13.14/example13_14.sce (limited to '1271/CH13/EX13.14') diff --git a/1271/CH13/EX13.14/14.txt b/1271/CH13/EX13.14/14.txt new file mode 100755 index 000000000..e1d0e71a7 --- /dev/null +++ b/1271/CH13/EX13.14/14.txt @@ -0,0 +1,2 @@ + Wavelength of x-ray is 0.785301 angstrom. + Glancing angle for second order diffraction is 18.232211 degree. diff --git a/1271/CH13/EX13.14/example13_14.sce b/1271/CH13/EX13.14/example13_14.sce new file mode 100755 index 000000000..ef966441d --- /dev/null +++ b/1271/CH13/EX13.14/example13_14.sce @@ -0,0 +1,14 @@ +clc +// Given that +d = 2.51 // the space between adjacent plane in angstrom +theta = 9 // glancing angle in degree +// Sample Problem 14 on page no. 13.29 +printf("\n # PROBLEM 14 # \n") +printf(" Standard formula used \n") +printf(" n*lambda = 2 * d * sin(theta) \n") +n = 1 // for n=1 +lambda = 2 * d * sind(theta) / n +n = 2 // for n=2 +theta = asind(lambda / d) +printf("\n Wavelength of x-ray is %f angstrom.\n Glancing angle for second order diffraction is %f degree.",lambda,theta) + -- cgit