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 /3411/CH5 | |
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 '3411/CH5')
36 files changed, 314 insertions, 0 deletions
diff --git a/3411/CH5/EX5.1/Ex5_1.sce b/3411/CH5/EX5.1/Ex5_1.sce new file mode 100644 index 000000000..39caac475 --- /dev/null +++ b/3411/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,24 @@ +//Example 5_1
+clc();
+clear;
+//To determine the miller indices of the plane
+//Given Intercepts are 2a,-3b,6c
+a=1
+b=1
+c=1
+intercepts1=2*a
+intercepts2=-3*b
+intercepts3=6*c
+unitcell1=intercepts1/a
+unitcell2=intercepts2/b
+unitcell3=intercepts3/c
+resiprocal1=1/unitcell1
+resiprocal2=1/unitcell2
+resiprocal3=1/unitcell3
+lcms=int32([unitcell1 unitcell2 unitcell3]);
+v=lcm(lcms)
+lcm1=3
+lcm2=-2
+lcm3=1
+printf("Co-ordinates of A,B,C are (%.2f,0,0),(0,%.1f,0)(0,0,%d)",1/lcm1,1/lcm2,lcm3)
+printf("\n Miller indices of the plane are(%d,%d,%d)",lcm1,lcm2,lcm3)
diff --git a/3411/CH5/EX5.1/Ex5_1.txt b/3411/CH5/EX5.1/Ex5_1.txt new file mode 100644 index 000000000..d16a9fc74 --- /dev/null +++ b/3411/CH5/EX5.1/Ex5_1.txt @@ -0,0 +1,2 @@ +Co-ordinates of A,B,C are (0.33,0,0),(0,-0.5,0)(0,0,1)
+ Miller indices of the plane are(3,-2,1)
\ No newline at end of file diff --git a/3411/CH5/EX5.10/Ex5_10.sce b/3411/CH5/EX5.10/Ex5_10.sce new file mode 100644 index 000000000..870847749 --- /dev/null +++ b/3411/CH5/EX5.10/Ex5_10.sce @@ -0,0 +1,14 @@ +//Example 5_10
+clc();
+clear;
+//To calculate the lattice constant
+h=6.63*10^-34 //Plancks Constant
+m=1.804*10^-27
+KB=1.38*10^-23
+T=300
+lamda=h/sqrt(3*m*KB*T) //units in mts
+n=2
+a=(sqrt(3)*lamda)/2 //units in mts
+printf("Lattice constant a=");
+disp(a);
+printf("mts")
diff --git a/3411/CH5/EX5.10/Ex5_10.txt b/3411/CH5/EX5.10/Ex5_10.txt new file mode 100644 index 000000000..dc254f563 --- /dev/null +++ b/3411/CH5/EX5.10/Ex5_10.txt @@ -0,0 +1,3 @@ +Lattice constant a=
+ 1.213D-10
+mts
\ No newline at end of file diff --git a/3411/CH5/EX5.11/Ex5_11.sce b/3411/CH5/EX5.11/Ex5_11.sce new file mode 100644 index 000000000..f56c13965 --- /dev/null +++ b/3411/CH5/EX5.11/Ex5_11.sce @@ -0,0 +1,7 @@ +//Example 5_11
+clc();
+clear;
+//To determine the unitcell and its dimensions
+lamda=71 //units in pm
+a=lamda/(2*sqrt(0.0111)) //units in pm
+printf("The unitcell and its dimensions are %dpm",a)
diff --git a/3411/CH5/EX5.11/Ex5_11.txt b/3411/CH5/EX5.11/Ex5_11.txt new file mode 100644 index 000000000..d5e90c7e6 --- /dev/null +++ b/3411/CH5/EX5.11/Ex5_11.txt @@ -0,0 +1 @@ + The unitcell and its dimensions are 336pm
\ No newline at end of file diff --git a/3411/CH5/EX5.12/Ex5_12.sce b/3411/CH5/EX5.12/Ex5_12.sce new file mode 100644 index 000000000..04af73bb1 --- /dev/null +++ b/3411/CH5/EX5.12/Ex5_12.sce @@ -0,0 +1,11 @@ +//Example 5_12
+clc();
+clear;
+//To determine the lattice constant
+lamda=0.154 //units in nm
+h=1
+k=1
+l=0
+theta=20 //units in degrees
+a=(lamda/2)*(sqrt(sqrt(h^2+k^2+l^2)/sin(theta*(%pi/180))^2)) //units in nm
+printf("Lattice constant a=%.3fnm \n And the element is tungsten Since Tungsten has lattice constant of %.3fnm and crystallizes in bcc structure",a,a)
diff --git a/3411/CH5/EX5.12/Ex5_12.txt b/3411/CH5/EX5.12/Ex5_12.txt new file mode 100644 index 000000000..dbe820550 --- /dev/null +++ b/3411/CH5/EX5.12/Ex5_12.txt @@ -0,0 +1,2 @@ +Lattice constant a=0.268nm
+ And the element is tungsten Since Tungsten has lattice constant of 0.268nm and crystallizes in bcc structure
\ No newline at end of file diff --git a/3411/CH5/EX5.13/Ex5_13.sce b/3411/CH5/EX5.13/Ex5_13.sce new file mode 100644 index 000000000..616fd5eeb --- /dev/null +++ b/3411/CH5/EX5.13/Ex5_13.sce @@ -0,0 +1,10 @@ +//Example 5_13
+clc();
+clear;
+//To determine the lattice parameter of the material
+lamda=0.07107 //units in nm
+theta=29.71 //units in degrees
+d400=lamda/(2*sin(theta*(%pi/180))) //units in nm
+hkl=16
+a=d400*sqrt(hkl) //units in nm
+printf("Lattice parameter of the material a=%.4fnm",a)
diff --git a/3411/CH5/EX5.13/Ex5_13.txt b/3411/CH5/EX5.13/Ex5_13.txt new file mode 100644 index 000000000..4de14b667 --- /dev/null +++ b/3411/CH5/EX5.13/Ex5_13.txt @@ -0,0 +1 @@ +Lattice parameter of the material a=0.2868nm
\ No newline at end of file diff --git a/3411/CH5/EX5.14/Ex5_14.sce b/3411/CH5/EX5.14/Ex5_14.sce new file mode 100644 index 000000000..b212eaeee --- /dev/null +++ b/3411/CH5/EX5.14/Ex5_14.sce @@ -0,0 +1,17 @@ +//Example 5_14
+clc();
+clear;
+//To calculate the effective temprature of neutrons
+a=0.352 //units in nm
+h=1
+k=1
+l=1
+d=a/sqrt(h^2+k^2+l^2) //units in nm
+theta=28.5 //units in degrees
+lamda=2*d*sin(theta*(%pi/180)) //units in nm
+h=6.63*10^-34 //Plancks Constant
+m=1.67*10^-27
+KB=1.38*10^-23
+lamda=lamda*10^-9 //units in mts
+T=h^2/(3*m*KB*lamda^2)
+printf("The effective temprature of neutrons is T=%dK",T)
diff --git a/3411/CH5/EX5.14/Ex5_14.txt b/3411/CH5/EX5.14/Ex5_14.txt new file mode 100644 index 000000000..7e9f3632f --- /dev/null +++ b/3411/CH5/EX5.14/Ex5_14.txt @@ -0,0 +1 @@ +The effective temprature of neutrons is T=169K
\ No newline at end of file diff --git a/3411/CH5/EX5.15/Ex5_15.sce b/3411/CH5/EX5.15/Ex5_15.sce new file mode 100644 index 000000000..f5f7ee853 --- /dev/null +++ b/3411/CH5/EX5.15/Ex5_15.sce @@ -0,0 +1,18 @@ +//Example 5_15
+clc();
+clear;
+//To calculate the Braggs angle
+h=6.63*10^-34 //Plancks Constant
+m=9.1*10^-31
+e=1.6*10^-19
+v=80
+lamda=h/sqrt(2*m*e*v) //units in mts
+lamda=lamda*10^9 //units in nm
+a=0.35 //units in nm
+h=1
+k=1
+l=1
+d111=a/sqrt(h^2+k^2+l^2) //units in nm //units in nm
+theta=asin(lamda/(2*d111)) //units in radians
+theta=theta*180/%pi //units in degrees
+printf("Braggs angle is theta=%.2fDegrees or 19Degrees40Minutes",theta)
diff --git a/3411/CH5/EX5.15/Ex5_15.txt b/3411/CH5/EX5.15/Ex5_15.txt new file mode 100644 index 000000000..61f0ff7a5 --- /dev/null +++ b/3411/CH5/EX5.15/Ex5_15.txt @@ -0,0 +1 @@ + Braggs angle is theta=19.87Degrees or 19Degrees40Minutes
\ No newline at end of file diff --git a/3411/CH5/EX5.16/Ex5_16.sce b/3411/CH5/EX5.16/Ex5_16.sce new file mode 100644 index 000000000..52f671b14 --- /dev/null +++ b/3411/CH5/EX5.16/Ex5_16.sce @@ -0,0 +1,24 @@ +//Example 5_16
+clc();
+clear;
+//To calculate the difference between the samples
+d=0.2552
+a=d*sqrt(2)
+lamda=0.152 //units in nm
+theta=21 //units in degrees
+//For sample A
+d111=lamda/(2*sin(theta*%pi/180)) //units in nm
+h=1
+k=1
+l=1
+a=d111*sqrt(h^2+k^2+l^2) //units in nm
+printf("For sample A a=%.4f nm",a)
+//For sample B
+theta=21.38
+d111=lamda/(2*sin(theta*%pi/180)) //units in nm
+h=1
+k=1
+l=1
+a=d111*sqrt(h^2+k^2+l^2) //units in nm
+printf("\nFor sample B a=%.4f nm",a)
+printf("\n Sample B is pure high purity copper as lattice parameter of A is 1.75percent greater than that of pure copper")
diff --git a/3411/CH5/EX5.16/Ex5_16.txt b/3411/CH5/EX5.16/Ex5_16.txt new file mode 100644 index 000000000..47695e7f2 --- /dev/null +++ b/3411/CH5/EX5.16/Ex5_16.txt @@ -0,0 +1,3 @@ + For sample A a=0.3673 nm
+For sample B a=0.3611 nm
+ Sample B is pure high purity copper as lattice parameter of A is 1.75percent greater than that of pure copper
\ No newline at end of file diff --git a/3411/CH5/EX5.17/Ex5_17.sce b/3411/CH5/EX5.17/Ex5_17.sce new file mode 100644 index 000000000..0eea0a453 --- /dev/null +++ b/3411/CH5/EX5.17/Ex5_17.sce @@ -0,0 +1,17 @@ +//Example 5_17
+clc();
+clear;
+//To find the lattice parameter and atomic diameter
+lamda=0.171 //units in nm
+theta=30 //units in degrees
+d110=lamda/(2*sin(theta*%pi/180)) //units in nm
+h=1
+k=1
+l=0
+a=d110*sqrt(h^2+k^2+l^2) //units in nm
+printf("The lattice parameter is a=%.3fnm",a)
+//Assuming the metal is FCC
+a1=0.171*sqrt(3) //units in nm
+a2=0.148*sqrt(4) //units in nm
+ad=a1/sqrt(2) //units in nm
+printf("\n Atomic diameter is %.4fnm",ad)
diff --git a/3411/CH5/EX5.17/Ex5_17.txt b/3411/CH5/EX5.17/Ex5_17.txt new file mode 100644 index 000000000..7415e7b96 --- /dev/null +++ b/3411/CH5/EX5.17/Ex5_17.txt @@ -0,0 +1,2 @@ +The lattice parameter is a=0.242nm
+ Atomic diameter is 0.2094nm
\ No newline at end of file diff --git a/3411/CH5/EX5.18/Ex5_18.sce b/3411/CH5/EX5.18/Ex5_18.sce new file mode 100644 index 000000000..6e32f24a0 --- /dev/null +++ b/3411/CH5/EX5.18/Ex5_18.sce @@ -0,0 +1,12 @@ +//Example 5_18
+clc();
+clear;
+//To find out the planes which gives reflection
+lamda=0.154 //units in nm
+theta=90 //units in degrees as sin(theta) is maximum at 90 degrees
+d=lamda/(2*sin(theta*%pi/180)) //units in nm
+D=0.228 //units in nm
+hkl=(2*D)/(d*sqrt(3))
+hkl2=hkl^2
+printf("As h^2+k^2+l^2=%.2f \n The highest possible values of (h,k,l) are (2,2,2) Hence (2,2,2) planes give reflection",hkl2)
+//Given in text book h^2+k^2+l^2=13.98 but the answer is h^2+k^2+l^2=11.69
diff --git a/3411/CH5/EX5.18/Ex5_18.txt b/3411/CH5/EX5.18/Ex5_18.txt new file mode 100644 index 000000000..e9df8c5c7 --- /dev/null +++ b/3411/CH5/EX5.18/Ex5_18.txt @@ -0,0 +1,2 @@ +As h^2+k^2+l^2=11.69
+ The highest possible values of (h,k,l) are (2,2,2) Hence (2,2,2) planes give reflection
\ No newline at end of file diff --git a/3411/CH5/EX5.2/Ex5_2.sce b/3411/CH5/EX5.2/Ex5_2.sce new file mode 100644 index 000000000..333fed038 --- /dev/null +++ b/3411/CH5/EX5.2/Ex5_2.sce @@ -0,0 +1,21 @@ +//Example 5_2
+clc();
+clear;
+//To determine the miller indices of the plane
+//Given Intercepts are Infinity,OY,OZ
+intercepts1="Infinity"
+intercepts2="OY"
+intercepts3="OZ"
+unitcell1="Infinity"
+unitcell2=1
+unitcell3=(2/3)
+resiprocal1=0
+resiprocal2=1/unitcell2
+resiprocal3=1/unitcell3
+lcms=int32([unitcell2 unitcell3]);
+v=lcm(lcms)
+lcm1=0
+lcm2=2
+lcm3=3
+printf("Co-ordinates of A,B,C are (Infinity,0,0),(0,%d,0)(0,0,%f)",unitcell2,unitcell3)
+printf("\n Miller indices of the plane are(%d,%d,%d)",lcm1,lcm2,lcm3)
diff --git a/3411/CH5/EX5.2/Ex5_2.txt b/3411/CH5/EX5.2/Ex5_2.txt new file mode 100644 index 000000000..a84d4830b --- /dev/null +++ b/3411/CH5/EX5.2/Ex5_2.txt @@ -0,0 +1,2 @@ +Co-ordinates of A,B,C are (Infinity,0,0),(0,1,0)(0,0,0.666667)
+ Miller indices of the plane are(0,2,3)
\ No newline at end of file diff --git a/3411/CH5/EX5.3/Ex5_3.sce b/3411/CH5/EX5.3/Ex5_3.sce new file mode 100644 index 000000000..110d7a526 --- /dev/null +++ b/3411/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,13 @@ +//Example 5_3
+clc();
+clear;
+//To find the intercepts along the Y and Z axes
+a=0.121 //units in nm
+b=0.184 //units in nm
+c=0.197 //units in nm
+//Given miller indices are (2,3,1)
+OA_OB=3/2
+OA_OC=1/2
+OB=(2/3)*b //units in nm
+OC=2*c //units in nm
+printf("The Intercepts along the Y and Z axes are OB=%.3fnm and OC=%.3fnm",OB,OC)
diff --git a/3411/CH5/EX5.3/Ex5_3.txt b/3411/CH5/EX5.3/Ex5_3.txt new file mode 100644 index 000000000..b57ad054b --- /dev/null +++ b/3411/CH5/EX5.3/Ex5_3.txt @@ -0,0 +1 @@ +The Intercepts along the Y and Z axes are OB=0.123nm and OC=0.394nm
\ No newline at end of file diff --git a/3411/CH5/EX5.4/Ex5_4.sce b/3411/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..ef1229c92 --- /dev/null +++ b/3411/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,13 @@ +//Example 5_4
+clc();
+clear;
+//To calculate the inter planar distance
+a=0.82 //units in nm
+b=0.94 //units in nm
+c=0.75 //units in nm
+h=1
+k=2
+l=3
+d=1/sqrt((((h/a)^2)+((k/b)^2)+((l/c)^2))) //units in nm
+printf("The Distance between (1,2,3) planes and (2,4,6) planes is d123=%.2fnm and d246=%.2fnm",d,d/2)
+//In textbook the answer is printed wrong as d123=0.11nm and d246=0.055nm but the correct answers are d123=0.21nm and d246=0.11nm
diff --git a/3411/CH5/EX5.4/Ex5_4.txt b/3411/CH5/EX5.4/Ex5_4.txt new file mode 100644 index 000000000..c9330488d --- /dev/null +++ b/3411/CH5/EX5.4/Ex5_4.txt @@ -0,0 +1 @@ +The Distance between (1,2,3) planes and (2,4,6) planes is d123=0.21nm and d246=0.11nm
\ No newline at end of file diff --git a/3411/CH5/EX5.5/Ex5_5.sce b/3411/CH5/EX5.5/Ex5_5.sce new file mode 100644 index 000000000..2dbc4f144 --- /dev/null +++ b/3411/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,9 @@ +//Example 5_5
+clc();
+clear;
+//To find out the interplanar spacing of the reflecting planes of the crystal
+theta=28 //units in degrees
+lamda=0.12 //units in nm
+n=2
+d=(n*lamda)/(2*sin(theta*(%pi/180)))
+printf("The interplanar spacing of the reflecting planes of the crystal is d=%.2fnm",d)
diff --git a/3411/CH5/EX5.5/Ex5_5.txt b/3411/CH5/EX5.5/Ex5_5.txt new file mode 100644 index 000000000..6f4a5b73a --- /dev/null +++ b/3411/CH5/EX5.5/Ex5_5.txt @@ -0,0 +1 @@ +The interplanar spacing of the reflecting planes of the crystal is d=0.26nm
\ No newline at end of file diff --git a/3411/CH5/EX5.6/Ex5_6.sce b/3411/CH5/EX5.6/Ex5_6.sce new file mode 100644 index 000000000..9df6c1ac3 --- /dev/null +++ b/3411/CH5/EX5.6/Ex5_6.sce @@ -0,0 +1,12 @@ +//Example 5_6
+clc();
+clear;
+//To calculate the interplanar spacing and wavelength
+n1=1
+theta1=23 //units in degrees
+n2=3
+theta2=60 //units in degrees
+lamda1=97 //units in pm
+lamda2=(n2*lamda1*sin(theta1*(%pi/180)))/(sin(theta2*(%pi/180))) //units in pm
+d=(n2*lamda1)/(2*sin(theta2*(%pi/180))) //units in pm
+printf("Wavelength lamda=%dpm \n Interplanar spacing d=%dpm",lamda2,d)
diff --git a/3411/CH5/EX5.6/Ex5_6.txt b/3411/CH5/EX5.6/Ex5_6.txt new file mode 100644 index 000000000..d3b42fa92 --- /dev/null +++ b/3411/CH5/EX5.6/Ex5_6.txt @@ -0,0 +1,2 @@ +Wavelength lamda=131pm
+ Interplanar spacing d=168pm
\ No newline at end of file diff --git a/3411/CH5/EX5.7/Ex5_7.sce b/3411/CH5/EX5.7/Ex5_7.sce new file mode 100644 index 000000000..d40ad9d24 --- /dev/null +++ b/3411/CH5/EX5.7/Ex5_7.sce @@ -0,0 +1,27 @@ +//Example 5_7
+clc();
+clear;
+//To find the wavelength whenthese planes give rise to maximum density in reflection
+d=275 //units in pm
+theta=45 //units in degrees
+//For n=1
+n=1
+lamda=(2*d*sin(theta*(%pi/180)))/n //units in pm
+printf("Wavelength for n=1 is lamda=%.1fpm\n",lamda)
+//For n=2
+n=2
+lamda=(2*d*sin(theta*(%pi/180)))/n //units in pm
+printf("Wavelength for n=1 is lamda=%.1fpm\n",lamda)
+//For n=3
+n=3
+lamda=(2*d*sin(theta*(%pi/180)))/n //units in pm
+printf("Wavelength for n=1 is lamda=%.1fpm\n",lamda)
+//For n=4
+n=4
+lamda=(2*d*sin(theta*(%pi/180)))/n //units in pm
+printf("Wavelength for n=1 is lamda=%.1fpm\n",lamda)
+//For n=5
+n=5
+lamda=(2*d*sin(theta*(%pi/180)))/n //units in pm
+printf("Wavelength for n=1 is lamda=%.1fpm\n",lamda)
+printf("For n=1,2,3 and >5 lamda lies beyond the range of wavelengths of polychromatic source")
diff --git a/3411/CH5/EX5.7/Ex5_7.txt b/3411/CH5/EX5.7/Ex5_7.txt new file mode 100644 index 000000000..eeb828b53 --- /dev/null +++ b/3411/CH5/EX5.7/Ex5_7.txt @@ -0,0 +1,6 @@ +Wavelength for n=1 is lamda=388.9pm
+Wavelength for n=1 is lamda=194.5pm
+Wavelength for n=1 is lamda=129.6pm
+Wavelength for n=1 is lamda=97.2pm
+Wavelength for n=1 is lamda=77.8pm
+For n=1,2,3 and >5 lamda lies beyond the range of wavelengths of polychromatic source
\ No newline at end of file diff --git a/3411/CH5/EX5.8/Ex5_8.sce b/3411/CH5/EX5.8/Ex5_8.sce new file mode 100644 index 000000000..c6c61b8da --- /dev/null +++ b/3411/CH5/EX5.8/Ex5_8.sce @@ -0,0 +1,14 @@ +//Example 5_8
+clc();
+clear;
+//To calculate the Bragg angle and the wavelength of X-rays
+//Given plane indices are (1,1,1)
+theta=87 //units in degrees
+theta=theta/2 //units in degrees
+a=0.2 //units in nm
+h=1
+k=1
+l=1
+d=a/sqrt(h^2+k^2+l^2) //units in nm
+lamda=2*d*sin(theta*(%pi/180)) //units in nm
+printf("Bragg angle theta=%.1fdegrees \n wavelength lamda=%.3fnm",theta,lamda)
diff --git a/3411/CH5/EX5.8/Ex5_8.txt b/3411/CH5/EX5.8/Ex5_8.txt new file mode 100644 index 000000000..529d164f5 --- /dev/null +++ b/3411/CH5/EX5.8/Ex5_8.txt @@ -0,0 +1,2 @@ + Bragg angle theta=43.5degrees
+ wavelength lamda=0.159nm
\ No newline at end of file diff --git a/3411/CH5/EX5.9/Ex5_9.sce b/3411/CH5/EX5.9/Ex5_9.sce new file mode 100644 index 000000000..c3f7f1e03 --- /dev/null +++ b/3411/CH5/EX5.9/Ex5_9.sce @@ -0,0 +1,15 @@ +//Example 5_9
+clc();
+clear;
+//To determine the interplanar spacing
+h=6.63*10^-34 //Plancks Constant
+m=9.1*10^-31
+e=1.6*10^-19
+v=844
+lamda=h/sqrt(2*m*e*v) //units in mts
+n=1
+theta=58 //units in degrees
+d=(n*lamda)/(2*sin(theta*(%pi/180))) //units in mts
+printf("The interplanar spacing d=")
+disp(d)
+printf("mts")
diff --git a/3411/CH5/EX5.9/Ex5_9.txt b/3411/CH5/EX5.9/Ex5_9.txt new file mode 100644 index 000000000..05ff349b8 --- /dev/null +++ b/3411/CH5/EX5.9/Ex5_9.txt @@ -0,0 +1,3 @@ + The interplanar spacing d=
+ 2.493D-11
+mts
\ No newline at end of file |