summaryrefslogtreecommitdiff
path: root/3875/CH11/EX11.20/Ex11_20.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3875/CH11/EX11.20/Ex11_20.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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.20/Ex11_20.sce')
-rw-r--r--3875/CH11/EX11.20/Ex11_20.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3875/CH11/EX11.20/Ex11_20.sce b/3875/CH11/EX11.20/Ex11_20.sce
new file mode 100644
index 000000000..21b6c92bd
--- /dev/null
+++ b/3875/CH11/EX11.20/Ex11_20.sce
@@ -0,0 +1,22 @@
+clc;
+clear;
+tetha_A=21 //Braggs angle in degree
+tetha_B_degree=21 // part of Braggs angle in degree
+tetha_B_minute=23 //part of Braggs angle in minute
+h=1 //x intercept of parallel plane
+k=1 //y intercept of parallel plane
+l=1 //z intercept of parallel plane
+lambda=0.152 //wavelength of xray in nm
+
+//calculation
+//case(1) for sample A
+d_111=lambda/(2*sind(tetha_A))
+a=d_111*sqrt(h^2+k^2+l^2)
+mprintf("\nThe lattice parameter of sample A is= %1.3f nm\n",a)
+
+//case(2) for sample B
+tetha_B_decdeg=tetha_B_degree+(tetha_B_minute/60)
+d_111=lambda/(2*sind(tetha_B_decdeg))
+a=d_111*sqrt(h^2+k^2+l^2)
+mprintf("The lattice parameter of sample B is = %1.3f nm\n",a)
+mprintf("The lattice parameter of sample B is the same as that of pure copper.Therefore sample B is high purity copper.The lattice parameter of sample is 1.75 percent higher than that of pure copper.Sample B is not pure and the presence of impurity atoms has caused strain in the crystal line.")