summaryrefslogtreecommitdiff
path: root/1664/CH6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1664/CH6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1664/CH6')
-rwxr-xr-x1664/CH6/EX6.1/Ex6_1.sce8
-rwxr-xr-x1664/CH6/EX6.10/Ex6_10.sce21
-rwxr-xr-x1664/CH6/EX6.11/Ex6_11.sce12
-rwxr-xr-x1664/CH6/EX6.12/Ex6_12.sce22
-rwxr-xr-x1664/CH6/EX6.13/Ex6_13.sce13
-rwxr-xr-x1664/CH6/EX6.14/Ex6_14.sce12
-rwxr-xr-x1664/CH6/EX6.15/Ex6_15.sce14
-rwxr-xr-x1664/CH6/EX6.16/Ex6_16.sce13
-rwxr-xr-x1664/CH6/EX6.17/Ex6_17.sce18
-rwxr-xr-x1664/CH6/EX6.18/Ex6_18.sce11
-rwxr-xr-x1664/CH6/EX6.2/Ex6_2.sce17
-rwxr-xr-x1664/CH6/EX6.3/Ex6_3.sce13
-rwxr-xr-x1664/CH6/EX6.4/Ex6_4.sce14
-rwxr-xr-x1664/CH6/EX6.5/Ex6_5.sce17
-rwxr-xr-x1664/CH6/EX6.6/Ex6_6.sce10
-rwxr-xr-x1664/CH6/EX6.7/Ex6_7.sce15
-rwxr-xr-x1664/CH6/EX6.8/Ex6_8.sce13
-rwxr-xr-x1664/CH6/EX6.9/Ex6_9.sce11
18 files changed, 254 insertions, 0 deletions
diff --git a/1664/CH6/EX6.1/Ex6_1.sce b/1664/CH6/EX6.1/Ex6_1.sce
new file mode 100755
index 000000000..87a083ef5
--- /dev/null
+++ b/1664/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,8 @@
+
+//Example No.6.1
+//Page No.185.
+clc;clear;
+Mc = 12;// Mc is the mass of one carbon atom.
+r = 0.071*10^(-9);//radius -[m].
+D = ((8*Mc)/(6.022*10^(26)*((8*r)/(sqrt(3)))^(3)));//density of the diamond.
+printf("\nThe density of diamond is %.1f kg/m^3",D);
diff --git a/1664/CH6/EX6.10/Ex6_10.sce b/1664/CH6/EX6.10/Ex6_10.sce
new file mode 100755
index 000000000..d3b634d9d
--- /dev/null
+++ b/1664/CH6/EX6.10/Ex6_10.sce
@@ -0,0 +1,21 @@
+
+
+// Example No.6.10.
+// Page No.189.
+clc;clear;
+h=1;k=0;l=0;
+d100=1/sqrt(h^2+k^2+l^2);
+disp('Interplanar spacing for d100 plane = a');
+h=1;k=1;l=0;
+d110=1/sqrt(h^2+k^2+l^2);
+disp('Interplanar spacing for d110 plane = a/1.414');
+h=1;k=1;l=1;
+d111=1/sqrt(h^2+k^2+l^2);
+disp('Interplanar spacing for d111 plane = a/1.732');
+x = sqrt(6);
+y = sqrt(3);
+z = sqrt(2);
+printf("\nx = %.3f",x);
+printf("\ny = %.3f",y);
+printf("\nz = %.3f",z);
+printf("\nd100:d110:d111 = %.3f:%.3f:%.3f",x,y,z);
diff --git a/1664/CH6/EX6.11/Ex6_11.sce b/1664/CH6/EX6.11/Ex6_11.sce
new file mode 100755
index 000000000..f88473a9e
--- /dev/null
+++ b/1664/CH6/EX6.11/Ex6_11.sce
@@ -0,0 +1,12 @@
+
+// Example No.6.11.
+// Page No.190.
+clc;clear;
+l1 = 6*(1/2);
+l2 = 6*(1/3);
+l3 = (6*1/6);
+disp('For the plane (231) the intercepts are (a/2),(b/3),(c/1)');
+disp('Ratio of the intercepts made by (231) plane in simple cubic crystal is as follows :');
+disp('l1:l2:l3 = 3:2:6');
+
+//As there are no numerical steps and hence the display statement has been typed directly.
diff --git a/1664/CH6/EX6.12/Ex6_12.sce b/1664/CH6/EX6.12/Ex6_12.sce
new file mode 100755
index 000000000..d6429f49d
--- /dev/null
+++ b/1664/CH6/EX6.12/Ex6_12.sce
@@ -0,0 +1,22 @@
+
+
+// Example No.6.12.
+// Page No.190.
+//To find the lengths of the intercepts.
+clc;clear;
+a = 0.8;
+b = 1.2;
+c = 1.5;
+disp('Ratio of the intercepts are as follows : ');
+disp('I1:I2:I3 = a:b/2:c/3');
+I1 = 0.8;
+disp('0.8:I2:I3 = a:b/2:c/3');
+disp('By substituting values');
+I2=(1.2/2);
+printf("\nI2 = %.1f A",I2);
+I3=(1.5/3);
+printf("\nI3 = %.1f A",I3);
+
+
+
+//As there are no numerical steps and hence the display statement has been typed directly.
diff --git a/1664/CH6/EX6.13/Ex6_13.sce b/1664/CH6/EX6.13/Ex6_13.sce
new file mode 100755
index 000000000..ff4e447e4
--- /dev/null
+++ b/1664/CH6/EX6.13/Ex6_13.sce
@@ -0,0 +1,13 @@
+
+// Example No.6.13.
+// Page No.191.
+//To find the nearest neighbour distance.
+clc;clear;
+disp('i)Simple cubic unit cell');
+disp('The nearest neighbour distance is a');//nearest neighbour distance.
+disp('ii)Body-centered cubic unit cell');
+disp('2r = (0.866)a');
+disp('iii)Face-centered cubic unit cell');
+disp('2r = (0.7071)a');
+
+//As there are no numerical steps and hence the display statement has been typed directly.
diff --git a/1664/CH6/EX6.14/Ex6_14.sce b/1664/CH6/EX6.14/Ex6_14.sce
new file mode 100755
index 000000000..b93675d48
--- /dev/null
+++ b/1664/CH6/EX6.14/Ex6_14.sce
@@ -0,0 +1,12 @@
+
+//Example No.6.14.
+//Page No.191.
+//To find interplanar distance.
+clc;clear;
+// (h,k,l) are the miller indices of the given lattice plane (212).
+h = 2;
+k = 1;
+l = 2;
+a = 2.04;//Lattice constant -[A].
+d = (a/sqrt(h^2+k^2+l^2));
+printf("\nThe interplanar distance is %.2f A",d);
diff --git a/1664/CH6/EX6.15/Ex6_15.sce b/1664/CH6/EX6.15/Ex6_15.sce
new file mode 100755
index 000000000..9a7346b3e
--- /dev/null
+++ b/1664/CH6/EX6.15/Ex6_15.sce
@@ -0,0 +1,14 @@
+
+
+//Example No.6.15.
+//Page No.191.
+clc;clear;
+r = 1.278*10^(-10),'m';
+M = 63.54;//Atomic weight of copper.
+Na = 6.022*10^(26);
+d = 8980;//density
+a = r*sqrt(8);//Interatomic distance.
+printf("\n The interatomic distance is %3.3e m",a);
+n = ((d*a^(3)*Na)/(M));//The number of atoms per unit cell.
+printf("\n Number of atoms per Cu unit cell is %.f",n);
+
diff --git a/1664/CH6/EX6.16/Ex6_16.sce b/1664/CH6/EX6.16/Ex6_16.sce
new file mode 100755
index 000000000..8c4bb5269
--- /dev/null
+++ b/1664/CH6/EX6.16/Ex6_16.sce
@@ -0,0 +1,13 @@
+
+// Example No.6.16.
+// Page No.192.
+//To find the miller indices.
+clc;clear;
+disp('i)Ratio of the intercepts are 0.214 : 1 : 0.188');
+disp('Miller indices for the given plane is (212)');
+disp('ii)Ratio of the intercepts are 0.858 : 1 : 0.754');
+disp('Miller indices for the given plane is (121)');
+disp('iii)Ratio of the intercepts are 0.429 : infinity : 0.126');
+disp('Miller indices for the given plane is (103)');
+
+//There are no numerical computations involved in this example and hence the display statement has been typed directly.
diff --git a/1664/CH6/EX6.17/Ex6_17.sce b/1664/CH6/EX6.17/Ex6_17.sce
new file mode 100755
index 000000000..9c3e71ab5
--- /dev/null
+++ b/1664/CH6/EX6.17/Ex6_17.sce
@@ -0,0 +1,18 @@
+
+// Example No.6.13.
+// Page No.191.
+//To find the number neighbour distance.
+clc;clear;
+disp('i)For (100) plane');
+disp('Number of atoms per m^2 = 1/4r^2');
+disp('i)For (110) plane');
+c1 = 1/(8*sqrt(2));
+printf("\nc1= %.4f",c1);
+disp('Number of atoms per m^2 = (0.084/r^2)');
+disp('i)For (111) plane');
+c2 = 1/(2*sqrt(3));
+printf("\nc2= %.4f",c2);
+disp('Number of atoms per m^2 = (0.2887/r^2)');
+
+
+
diff --git a/1664/CH6/EX6.18/Ex6_18.sce b/1664/CH6/EX6.18/Ex6_18.sce
new file mode 100755
index 000000000..e47e5c45d
--- /dev/null
+++ b/1664/CH6/EX6.18/Ex6_18.sce
@@ -0,0 +1,11 @@
+
+//Example No.6.18
+//Page No.194.
+clc;clear;
+r = 0.97*10^(-10);
+R = 1.81*10^(-10);
+Pd = ((%pi)/(3*sqrt(2)));
+printf("\nThe packing density is %.2f",Pd);
+//Ionic factor of NaCl//
+IPF = (4*(4/3)*%pi*(r^(3)+R^(3)))/((2*(r+R))^(3));//Ionic packing factor of NaCl crystal.
+printf("\nThe ionic packing factor of NaCl crystal is %.3f",IPF);
diff --git a/1664/CH6/EX6.2/Ex6_2.sce b/1664/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..06e380df7
--- /dev/null
+++ b/1664/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,17 @@
+
+//Example No.6.2.
+//Page No.185.
+clc;clear;
+a1 = 0.332*10^(-9);//Lattice parameter for BCC structure -[m].
+a2 = 0.296*10^(-9);//Lattice parameter for HCP structure -[m].
+c = 0.468*10^(-9);// -[m]
+disp('BCCv is the volume of BCC unit cell');
+BCCv = a1^(3);//Volume of BCC unit cell.
+printf("\nThe volume of BCC unit cell is %3.3e m^-3",BCCv);
+disp('HCPv is the volume of HCP unit cell');
+HCPv = (6*(sqrt(3)/4)*a2^(2)*c);//Volume of HCP unit cell.
+printf("\nThe volume of HCP unit cell is %3.3e m^3",HCPv);
+Cv = (HCPv-BCCv);
+printf("\nThe change in volume is %3.3e",Cv);
+Vp = (Cv/BCCv)*100;
+printf("\nThe volume change in percentage is %.1f percent",Vp);
diff --git a/1664/CH6/EX6.3/Ex6_3.sce b/1664/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..447c504e2
--- /dev/null
+++ b/1664/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,13 @@
+
+//Example No.6.3
+//Page No.186.
+clc;clear;
+r = 1.278*10^(-10);//Atomic radius of copper -[m].
+A = 63.54;//Atomic weight of copper.
+n = 4;
+Na = 6.022*10^(26);
+a = (2*sqrt(2)*r);
+printf("\nThe lattice constant for FCC is %3.3e",a);
+d = ((n*A)/(Na*a^(3)));//for FCCn=4.
+d = ((n*A)/(Na*(3.61*10^(-10))^(3)));
+printf("\nThe density of copper is %.0f kg/m^3",d);
diff --git a/1664/CH6/EX6.4/Ex6_4.sce b/1664/CH6/EX6.4/Ex6_4.sce
new file mode 100755
index 000000000..e45056c2a
--- /dev/null
+++ b/1664/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,14 @@
+
+//Example No.6.4.
+//Page No.186.
+clc;clear;
+Na = 23;//Atomic weight of Na
+Cl = 35.5;//Atomic weight of Cl
+d = 2180;//Density of Nacl -[kg/m^3].
+nA = 6.022*10^(26);
+NaCl = (Na+Cl)//Molecular weight of NaCl.
+printf("\n1) Molecular weigth of NaCl is %.1f",NaCl);
+n = 4;
+A = 58.5;
+a = (((n*A)/(nA*d))^(1/3));
+printf("\n2) The interatomic distance of NaCl crystal is %3.3e m",a);
diff --git a/1664/CH6/EX6.5/Ex6_5.sce b/1664/CH6/EX6.5/Ex6_5.sce
new file mode 100755
index 000000000..66fa4d58e
--- /dev/null
+++ b/1664/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,17 @@
+
+//Example No.6.5.
+//Page No.187.
+clc;clear;
+a = 0.42;//Lattice constant -[nm].
+//(h1,k1,l1) are the miller indices of the plane (101).
+h1 = 1;
+k1 = 0;
+l1 = 1;
+d1 = (a/sqrt(h1^(2)+k1^(2)+l1^(2)));//interplanar and interatomic distance of plane (101)
+printf("\nFor (101) plane, the interplanar and interatomic distance is %.4f nm",d1);
+// (h2,k2,l2) are the miller indices of the plane (221).
+h2 = 2;
+k2 = 2;
+l2 = 1;
+d2 = (a/sqrt(h2^(2)+k2^(2)+l2^(2)));//interplanar and interatomic distance of plane (221)
+printf("\nFor (221) plane, the interplanar and interatomic distance is %.2f nm",d2);
diff --git a/1664/CH6/EX6.6/Ex6_6.sce b/1664/CH6/EX6.6/Ex6_6.sce
new file mode 100755
index 000000000..1e0d4b1bc
--- /dev/null
+++ b/1664/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,10 @@
+
+// Example No.6.6.
+// Page No.187.
+clc;clear;
+disp('For the plane (102),the intercepts are (a/1) = a,(b/0) = infinity ,c/2');
+disp('For the plane (231),the intercepts are a/2 , b/3 and (c/1) = c');
+disp('For the plane (312),the intercepts are a/3 ,(b/-1) = -b ,c/2');
+
+//As there are no numerical steps available and hence the display statement has been typed directly.
+
diff --git a/1664/CH6/EX6.7/Ex6_7.sce b/1664/CH6/EX6.7/Ex6_7.sce
new file mode 100755
index 000000000..bdc496f89
--- /dev/null
+++ b/1664/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,15 @@
+
+//Example No.6.7
+//Page No.188.
+//Find the angle between two planes (111) and (212) in a cubic lattice.
+clc;clear;
+// (u1,v1,w1) are the miller indices of the plane (111).
+u1 = 1;
+v1 = 1;
+w1 = 1;
+// (u2,v2,w2) are the miller indices of the plane (212).
+u2 = 2;
+v2 = 1;
+w2 = 2;
+u = acosd(((u1*u2)+(v1*v2)+(w1*w2))/((sqrt((u1^2)+(v1^2)+(w1^2))*sqrt((u2^2)+(v2^2)+(w2^2)))));//u is the angle between two planes.
+printf("\n The angle between the planes (111) and (212) is %.3f degree",u);
diff --git a/1664/CH6/EX6.8/Ex6_8.sce b/1664/CH6/EX6.8/Ex6_8.sce
new file mode 100755
index 000000000..3d372d1ec
--- /dev/null
+++ b/1664/CH6/EX6.8/Ex6_8.sce
@@ -0,0 +1,13 @@
+
+// Example No.6.8.
+// Page No.188.
+clc;clear;
+disp('The intercepts of the plane(100) are a ,infinity ,infinity.');
+disp('The intercepts of the cubic plane(110) are a ,a ,infinity.');
+disp('The intercepts of the plane(111) are a ,a ,a.');
+disp('The intercepts of the plane(200) are a/2 ,infinity ,infinity.');
+disp('The intercepts of the plane(120) are a ,a/2 ,infinity.');
+disp('The intercepts of the plane(211) are a/2 ,a ,a.');
+
+//As there are no numerical steps and hence the display statement has been typed directly.
+
diff --git a/1664/CH6/EX6.9/Ex6_9.sce b/1664/CH6/EX6.9/Ex6_9.sce
new file mode 100755
index 000000000..0e9c95ff2
--- /dev/null
+++ b/1664/CH6/EX6.9/Ex6_9.sce
@@ -0,0 +1,11 @@
+
+//Example No.6.9.
+//Page No.189.
+clc;clear;
+d = 0.2338;//'d' is the interplanar distance -[nm].
+// (h,k,l) are the miller indices of the given plane.
+h = (-1);
+k = 1;
+l = 1;
+a = (d*sqrt(h^2+k^2+l^2));//'a' is the lattice constant
+printf("\nThe lattice constant is %.4f nm",a);