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 /3875/CH11/EX11.21/Ex11_21.sce | |
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 '3875/CH11/EX11.21/Ex11_21.sce')
-rw-r--r-- | 3875/CH11/EX11.21/Ex11_21.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/3875/CH11/EX11.21/Ex11_21.sce b/3875/CH11/EX11.21/Ex11_21.sce new file mode 100644 index 000000000..79417d726 --- /dev/null +++ b/3875/CH11/EX11.21/Ex11_21.sce @@ -0,0 +1,31 @@ +clc;
+clear;
+lambda=0.171 //wavelength of X-ray in nm
+tetha_1=30 //Braggs angle in degree
+tetha_2_degrees=35 //part of Braggs angle in degrees
+tetha_2_minutes=17 //part of Braggs angle in minutes
+h=1 //x intercept of the parallel plane
+k=1 //y intercept of the parallel plane
+l=0 //z intercept of the parallel plane
+
+//calculation
+//case(A)
+d_110=lambda/(2*sind(tetha_1))
+a=d_110*sqrt(h^2+k^2+l^2)
+mprintf("The lattice parameter is = %1.3f nm\n",a)
+
+//case(B)
+h=2 //x intercept of the parallel plane
+k=0 //y intercept of the parallel plane
+l=0 //z intercept of the parallel plane
+tetha_2_decdeg=tetha_2_degrees+(tetha_2_minutes/60)
+d_110=lambda/(2*sind(tetha_2_decdeg))
+a=d_110*sqrt(h^2+k^2+l^2)
+mprintf("The lattice parameter is = %1.4f nm\n",a)
+mprintf("The lattice parameters are not equal,hence metal is not bcc\n")
+mprintf("We assume that the metal is fcc,lattice parameter is consistent at value=0.296 nm\n") //by multiplying d_110 by sqrt(3) and d_200 by sqrt(4)
+
+//for atomice diameter we have
+a=0.296 //lattice parameter in nm
+D=a/sqrt(2)
+mprintf("The atomic diameter is = %1.4f nm",D)
|