summaryrefslogtreecommitdiff
path: root/3537/CH5
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5')
-rw-r--r--3537/CH5/EX5.1/Ex5_1.sce22
-rw-r--r--3537/CH5/EX5.1/Ex5_1.txt3
-rw-r--r--3537/CH5/EX5.10/Ex5_10.sce13
-rw-r--r--3537/CH5/EX5.10/Ex5_10.txt2
-rw-r--r--3537/CH5/EX5.11/Ex5_11.sce22
-rw-r--r--3537/CH5/EX5.11/Ex5_11.txt2
-rw-r--r--3537/CH5/EX5.12/Ex5_12.sce13
-rw-r--r--3537/CH5/EX5.12/Ex5_12.txt2
-rw-r--r--3537/CH5/EX5.13/Ex5_13.sce8
-rw-r--r--3537/CH5/EX5.13/Ex5_13.txt1
-rw-r--r--3537/CH5/EX5.14/Ex5_14.sce13
-rw-r--r--3537/CH5/EX5.14/Ex5_14.txt1
-rw-r--r--3537/CH5/EX5.15/Ex5_15.sce10
-rw-r--r--3537/CH5/EX5.15/Ex5_15.txt1
-rw-r--r--3537/CH5/EX5.16/Ex5_16.sce10
-rw-r--r--3537/CH5/EX5.16/Ex5_16.txt1
-rw-r--r--3537/CH5/EX5.17/Ex5_17.sce14
-rw-r--r--3537/CH5/EX5.17/Ex5_17.txt1
-rw-r--r--3537/CH5/EX5.18/Ex5_18.sce14
-rw-r--r--3537/CH5/EX5.18/Ex5_18.txt1
-rw-r--r--3537/CH5/EX5.19/Ex5_19.sce13
-rw-r--r--3537/CH5/EX5.19/Ex5_19.txt1
-rw-r--r--3537/CH5/EX5.2/Ex5_2.sce20
-rw-r--r--3537/CH5/EX5.2/Ex5_2.txt1
-rw-r--r--3537/CH5/EX5.20/Ex5_20.sce15
-rw-r--r--3537/CH5/EX5.20/Ex5_20.txt2
-rw-r--r--3537/CH5/EX5.21/Ex5_21.sce12
-rw-r--r--3537/CH5/EX5.21/Ex5_21.txt2
-rw-r--r--3537/CH5/EX5.22/Ex5_22.sce12
-rw-r--r--3537/CH5/EX5.22/Ex5_22.txt1
-rw-r--r--3537/CH5/EX5.23/Ex5_23.sce9
-rw-r--r--3537/CH5/EX5.23/Ex5_23.txt1
-rw-r--r--3537/CH5/EX5.24/Ex5_24.sce12
-rw-r--r--3537/CH5/EX5.24/Ex5_24.txt2
-rw-r--r--3537/CH5/EX5.25/Ex5_25.sce12
-rw-r--r--3537/CH5/EX5.25/Ex5_25.txt3
-rw-r--r--3537/CH5/EX5.26/Ex5_26.sce13
-rw-r--r--3537/CH5/EX5.26/Ex5_26.txt1
-rw-r--r--3537/CH5/EX5.27/Ex5_27.sce6
-rw-r--r--3537/CH5/EX5.27/Ex5_27.txt2
-rw-r--r--3537/CH5/EX5.28/Ex5_28.sce12
-rw-r--r--3537/CH5/EX5.28/Ex5_28.txt1
-rw-r--r--3537/CH5/EX5.29/Ex5_29.sce16
-rw-r--r--3537/CH5/EX5.29/Ex5_29.txt1
-rw-r--r--3537/CH5/EX5.3/Ex5_3.sce11
-rw-r--r--3537/CH5/EX5.3/Ex5_3.txt1
-rw-r--r--3537/CH5/EX5.30/Ex5_30.sce17
-rw-r--r--3537/CH5/EX5.30/Ex5_30.txt2
-rw-r--r--3537/CH5/EX5.31/Ex5_31.sce18
-rw-r--r--3537/CH5/EX5.31/Ex5_31.txt2
-rw-r--r--3537/CH5/EX5.32/Ex5_32.sce9
-rw-r--r--3537/CH5/EX5.32/Ex5_32.txt1
-rw-r--r--3537/CH5/EX5.33/Ex5_33.sce12
-rw-r--r--3537/CH5/EX5.33/Ex5_33.txt2
-rw-r--r--3537/CH5/EX5.34/Ex5_34.sce9
-rw-r--r--3537/CH5/EX5.34/Ex5_34.txt1
-rw-r--r--3537/CH5/EX5.4/Ex5_4.sce13
-rw-r--r--3537/CH5/EX5.4/Ex5_4.txt1
-rw-r--r--3537/CH5/EX5.5/Ex5_5.sce15
-rw-r--r--3537/CH5/EX5.5/Ex5_5.txt1
-rw-r--r--3537/CH5/EX5.6/Ex5_6.sce20
-rw-r--r--3537/CH5/EX5.6/Ex5_6.txt3
-rw-r--r--3537/CH5/EX5.7/Ex5_7.sce10
-rw-r--r--3537/CH5/EX5.7/Ex5_7.txt1
-rw-r--r--3537/CH5/EX5.8/Ex5_8.sce10
-rw-r--r--3537/CH5/EX5.8/Ex5_8.txt1
-rw-r--r--3537/CH5/EX5.9/Ex5_9.sce14
-rw-r--r--3537/CH5/EX5.9/Ex5_9.txt1
68 files changed, 499 insertions, 0 deletions
diff --git a/3537/CH5/EX5.1/Ex5_1.sce b/3537/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..5d279ddc9
--- /dev/null
+++ b/3537/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,22 @@
+//Example 5_1
+clc();
+clear;
+//To calculate the number of atoms per meter square of plane
+//For (100) Plane
+a=2
+noofatomspercell=1/4*2*a
+noofatomsperunitarea=noofatomspercell/a^2 //units in Terms of R
+printf("Number of atoms per unit area of 100 plane %.2f*R^-2",noofatomsperunitarea)
+//For (110) Plane
+a=2
+noofatomspercell=1/4*2*a
+noofatomsperunitarea=noofatomspercell/(sqrt(2)*a^2) //units in Terms of R
+printf("\nNumber of atoms per unit area of 110 plane %.2f*R^-2",noofatomsperunitarea)
+//For (111) Plane
+a=2
+noofatomspercell=1/4*2*a
+bc=sqrt(2)*a
+ad=(sqrt(3)/2)*sqrt(2)*a
+area=0.5*bc*ad
+noofatomsperunitarea=noofatomspercell/area //units in Terms of R
+printf("\nNumber of atoms per unit area of 110 plane %.2f*R^-2",noofatomsperunitarea)
diff --git a/3537/CH5/EX5.1/Ex5_1.txt b/3537/CH5/EX5.1/Ex5_1.txt
new file mode 100644
index 000000000..63c831bee
--- /dev/null
+++ b/3537/CH5/EX5.1/Ex5_1.txt
@@ -0,0 +1,3 @@
+Number of atoms per unit area of 100 plane 0.25*R^-2
+Number of atoms per unit area of 110 plane 0.18*R^-2
+Number of atoms per unit area of 110 plane 0.29*R^-2 \ No newline at end of file
diff --git a/3537/CH5/EX5.10/Ex5_10.sce b/3537/CH5/EX5.10/Ex5_10.sce
new file mode 100644
index 000000000..0ef8b28e0
--- /dev/null
+++ b/3537/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,13 @@
+//Example 5_10
+clc();
+clear;
+//To determine interplanar spacing andmiller indices
+n=1
+lamda=1.54 //Units in A
+theta=20.3 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180)) //units in A
+printf("Interplanar spacing d=%d A\n",d)
+a=3.16
+hkl=a/d
+hkl2=hkl^2
+printf("In order to get h^2+k^2+l^2=%d as l=0 then h=1 and k=1",hkl2)
diff --git a/3537/CH5/EX5.10/Ex5_10.txt b/3537/CH5/EX5.10/Ex5_10.txt
new file mode 100644
index 000000000..dcc1014f6
--- /dev/null
+++ b/3537/CH5/EX5.10/Ex5_10.txt
@@ -0,0 +1,2 @@
+ Interplanar spacing d=2 A
+In order to get h^2+k^2+l^2=2 as l=0 then h=1 and k=1 \ No newline at end of file
diff --git a/3537/CH5/EX5.11/Ex5_11.sce b/3537/CH5/EX5.11/Ex5_11.sce
new file mode 100644
index 000000000..7efbb2207
--- /dev/null
+++ b/3537/CH5/EX5.11/Ex5_11.sce
@@ -0,0 +1,22 @@
+//Example 5_11
+clc();
+clear;
+//To find the wavenength and energy
+n=4
+a=107.87 //units in amu
+N=10500
+row=6.052*10^26
+a=((n*a)/(N*row))^(1/3)*10^10 //units in A
+h=1
+k=1
+l=1
+d=a/sqrt(h^2+k^2+l^2) //units in A
+theta=19. //units in degrees
+lamda=2*d*sin(theta*%pi/180) //units in A
+printf("Wavelength is lamda=%.2fA",lamda)
+lamda=lamda*10^-10 //units in meters
+
+h=6.625*10^-34 //Plancks constant
+c=3*10^8 //units in meter/sec
+energy=(h*c)/(lamda*1.6*10^-19) //units in eV
+printf("\n energy is =%d eV",energy)
diff --git a/3537/CH5/EX5.11/Ex5_11.txt b/3537/CH5/EX5.11/Ex5_11.txt
new file mode 100644
index 000000000..454e929a4
--- /dev/null
+++ b/3537/CH5/EX5.11/Ex5_11.txt
@@ -0,0 +1,2 @@
+Wavelength is lamda=1.53A
+ energy is =8099 eV \ No newline at end of file
diff --git a/3537/CH5/EX5.12/Ex5_12.sce b/3537/CH5/EX5.12/Ex5_12.sce
new file mode 100644
index 000000000..310f8f558
--- /dev/null
+++ b/3537/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,13 @@
+//Example 5_12
+clc();
+clear;
+//To calculate the wavelength ansd maximum order of diffraction
+n=1
+d=0.282*10^-9 //units in meters
+theta=8.583 //units in degrees
+lamda=((2*d*sin(theta*%pi/180))/n)*10^9 //units in nm
+printf("wavelength is lamda=%.3f nm",lamda)
+//When theta=90 degrees
+lama=lamda*10^9 //units in meters
+n=(2*d)/lamda*10^9
+printf("\nMaximum order of diffraction is n=%d",n)
diff --git a/3537/CH5/EX5.12/Ex5_12.txt b/3537/CH5/EX5.12/Ex5_12.txt
new file mode 100644
index 000000000..19b54f2e8
--- /dev/null
+++ b/3537/CH5/EX5.12/Ex5_12.txt
@@ -0,0 +1,2 @@
+wavelength is lamda=0.084 nm
+Maximum order of diffraction is n=6 \ No newline at end of file
diff --git a/3537/CH5/EX5.13/Ex5_13.sce b/3537/CH5/EX5.13/Ex5_13.sce
new file mode 100644
index 000000000..dce2462f2
--- /dev/null
+++ b/3537/CH5/EX5.13/Ex5_13.sce
@@ -0,0 +1,8 @@
+//Example 5_13
+clc();
+clear;
+//To find the Maximum possible diffraction order
+lamda=1.5 //units in A.U
+d=1.6 //units in A.U
+n=(2*d)/lamda
+printf("Maximum possible diffraction order = %.0f",n)
diff --git a/3537/CH5/EX5.13/Ex5_13.txt b/3537/CH5/EX5.13/Ex5_13.txt
new file mode 100644
index 000000000..ce508a640
--- /dev/null
+++ b/3537/CH5/EX5.13/Ex5_13.txt
@@ -0,0 +1 @@
+Maximum possible diffraction order = 2 \ No newline at end of file
diff --git a/3537/CH5/EX5.14/Ex5_14.sce b/3537/CH5/EX5.14/Ex5_14.sce
new file mode 100644
index 000000000..67682d7f7
--- /dev/null
+++ b/3537/CH5/EX5.14/Ex5_14.sce
@@ -0,0 +1,13 @@
+//Example 5_14
+clc();
+clear;
+//To clculate the inter frame spacing
+lamda=1.5418*10^-10 //units in mts
+theta=30 //units in degrees
+d=lamda/(2*sin(theta*%pi/180))
+d=d*10^10 //units in A
+h=1
+k=1
+l=1
+a=d*sqrt(h^2+k^2+l^2)
+printf("The inter frame spacing is a=%.2f A",a)
diff --git a/3537/CH5/EX5.14/Ex5_14.txt b/3537/CH5/EX5.14/Ex5_14.txt
new file mode 100644
index 000000000..7ac9d427a
--- /dev/null
+++ b/3537/CH5/EX5.14/Ex5_14.txt
@@ -0,0 +1 @@
+The inter frame spacing is a=2.67 A \ No newline at end of file
diff --git a/3537/CH5/EX5.15/Ex5_15.sce b/3537/CH5/EX5.15/Ex5_15.sce
new file mode 100644
index 000000000..a53c087c2
--- /dev/null
+++ b/3537/CH5/EX5.15/Ex5_15.sce
@@ -0,0 +1,10 @@
+//Example 5_15
+clc();
+clear;
+//To find the glancing angle for the second order diffraction
+d100=0.28 //units in nm
+n=2
+lamda=0.071 //units in nm
+d110=d100/sqrt(2)
+theta=asin(( n*lamda)/(2*d110))*180/%pi
+printf("The glancing angle is %d degrees",theta)
diff --git a/3537/CH5/EX5.15/Ex5_15.txt b/3537/CH5/EX5.15/Ex5_15.txt
new file mode 100644
index 000000000..8b7bcf2d9
--- /dev/null
+++ b/3537/CH5/EX5.15/Ex5_15.txt
@@ -0,0 +1 @@
+ The glancing angle is 21 degrees \ No newline at end of file
diff --git a/3537/CH5/EX5.16/Ex5_16.sce b/3537/CH5/EX5.16/Ex5_16.sce
new file mode 100644
index 000000000..422cf70a7
--- /dev/null
+++ b/3537/CH5/EX5.16/Ex5_16.sce
@@ -0,0 +1,10 @@
+//Example 5_16
+clc();
+clear;
+//To calculate the distane between (110) planes
+a=0.38 //units in nm
+h=1
+k=1
+l=0
+d=a/sqrt(h^2+k^2+l^2)
+printf("Distance between (110) planes d = %.2f nm",d)
diff --git a/3537/CH5/EX5.16/Ex5_16.txt b/3537/CH5/EX5.16/Ex5_16.txt
new file mode 100644
index 000000000..6f808069c
--- /dev/null
+++ b/3537/CH5/EX5.16/Ex5_16.txt
@@ -0,0 +1 @@
+Distance between (110) planes d = 0.27 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.17/Ex5_17.sce b/3537/CH5/EX5.17/Ex5_17.sce
new file mode 100644
index 000000000..884f58c42
--- /dev/null
+++ b/3537/CH5/EX5.17/Ex5_17.sce
@@ -0,0 +1,14 @@
+//Example 5_17
+clc();
+clear;
+//To compare the density of lattice points
+//For (110) plane
+area=sqrt(2) //units in a
+areacontains=(1/4)*4
+density=1/area //units in a
+//(111) plane
+areaa=1/sqrt(2) //interms of a
+eo=sqrt(3)/sqrt(2)
+area1=eo/sqrt(2)
+density=(3*(1/6))/(area1)
+printf("The ratio of density of planes is %.3f:%.3f",sqrt(2),sqrt(3))
diff --git a/3537/CH5/EX5.17/Ex5_17.txt b/3537/CH5/EX5.17/Ex5_17.txt
new file mode 100644
index 000000000..b5e9f77eb
--- /dev/null
+++ b/3537/CH5/EX5.17/Ex5_17.txt
@@ -0,0 +1 @@
+ The ratio of density of planes is 1.414:1.732 \ No newline at end of file
diff --git a/3537/CH5/EX5.18/Ex5_18.sce b/3537/CH5/EX5.18/Ex5_18.sce
new file mode 100644
index 000000000..d76469d02
--- /dev/null
+++ b/3537/CH5/EX5.18/Ex5_18.sce
@@ -0,0 +1,14 @@
+//Example 5_18
+clc();
+clear;
+//To calculate the glancing angle
+h=1
+k=1
+l=0
+lamda=0.065*10^-9 //units in m
+n=2
+a=0.26*10^-9 //units in nm
+sintheta=(n*lamda*sqrt(h^2+k^2+k^2))/(2*a)
+theta=asin(sintheta)*180/%pi //units in degrees
+printf("Theta=%.2f degrees",theta)
+//the answer in the textbook is given wrong as theta=20.7 degrees but the right answer is 25.66 degrees
diff --git a/3537/CH5/EX5.18/Ex5_18.txt b/3537/CH5/EX5.18/Ex5_18.txt
new file mode 100644
index 000000000..0f904fe22
--- /dev/null
+++ b/3537/CH5/EX5.18/Ex5_18.txt
@@ -0,0 +1 @@
+Theta=25.66 degrees \ No newline at end of file
diff --git a/3537/CH5/EX5.19/Ex5_19.sce b/3537/CH5/EX5.19/Ex5_19.sce
new file mode 100644
index 000000000..ccb7010ed
--- /dev/null
+++ b/3537/CH5/EX5.19/Ex5_19.sce
@@ -0,0 +1,13 @@
+//Example 5_19
+clc();
+clear;
+//To compute the cube edge of unit cell
+n=1
+lamda=1.54*10^-10 //units in meters
+theta=19.2 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180))
+h=1
+k=1
+l=1
+a=d*sqrt(h^2+k^2+k^2)*10^10 //units in A
+printf("Cube edge of unit cell a=%.2f A",a)
diff --git a/3537/CH5/EX5.19/Ex5_19.txt b/3537/CH5/EX5.19/Ex5_19.txt
new file mode 100644
index 000000000..8fb8bb4a8
--- /dev/null
+++ b/3537/CH5/EX5.19/Ex5_19.txt
@@ -0,0 +1 @@
+Cube edge of unit cell a=4.06 A \ No newline at end of file
diff --git a/3537/CH5/EX5.2/Ex5_2.sce b/3537/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..f1339ae7a
--- /dev/null
+++ b/3537/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,20 @@
+//Example 5_2
+clc();
+clear;
+//To show d100:d110:d111=sqrt(6):sqrt(3):sqrt(2)
+//For d100
+h=1
+k=0
+l=0
+d100=1/sqrt(h^2+k^2+l^2) //Units in terms of a
+//For d110
+h=1
+k=1
+l=0
+d110=1/sqrt(h^2+k^2+l^2) //Units in terms of a
+//For d111
+h=1
+k=1
+l=1
+d111=1/sqrt(h^2+k^2+l^2) //Units in terms of a
+printf("d100:d110:d111=%.3f:%.3f:%.3f",d100,d110,d111)
diff --git a/3537/CH5/EX5.2/Ex5_2.txt b/3537/CH5/EX5.2/Ex5_2.txt
new file mode 100644
index 000000000..9bdf30d8f
--- /dev/null
+++ b/3537/CH5/EX5.2/Ex5_2.txt
@@ -0,0 +1 @@
+d100:d110:d111=1.000:0.707:0.577 \ No newline at end of file
diff --git a/3537/CH5/EX5.20/Ex5_20.sce b/3537/CH5/EX5.20/Ex5_20.sce
new file mode 100644
index 000000000..90a367514
--- /dev/null
+++ b/3537/CH5/EX5.20/Ex5_20.sce
@@ -0,0 +1,15 @@
+//Example 5_20
+clc();
+clear;
+//To compute the cube edge of unit cell
+n=1
+lamda=1.54*10^-10 //units in m
+theta=19.2 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180))
+h=1
+k=1
+l=1
+a=d*sqrt(h^2+k^2+k^2)
+printf("Cube edge of unit cell a=")
+disp(a)
+printf("meters")
diff --git a/3537/CH5/EX5.20/Ex5_20.txt b/3537/CH5/EX5.20/Ex5_20.txt
new file mode 100644
index 000000000..8b6810b89
--- /dev/null
+++ b/3537/CH5/EX5.20/Ex5_20.txt
@@ -0,0 +1,2 @@
+ Cube edge of unit cell a=
+ 4.055D-10 meters \ No newline at end of file
diff --git a/3537/CH5/EX5.21/Ex5_21.sce b/3537/CH5/EX5.21/Ex5_21.sce
new file mode 100644
index 000000000..28aac16fa
--- /dev/null
+++ b/3537/CH5/EX5.21/Ex5_21.sce
@@ -0,0 +1,12 @@
+//Example 5_21
+clc();
+clear;
+//To find intercepts along x and y axis
+oa_ob=3/2
+oa_oc=1/2
+b=0.184 //units in nm
+ob=(1/oa_ob)*b
+c=0.197 //units in nm
+oc=(1/oa_oc)*c
+printf("OB=%.3f nm",ob)
+printf("\nOC=%.3f nm",oc)
diff --git a/3537/CH5/EX5.21/Ex5_21.txt b/3537/CH5/EX5.21/Ex5_21.txt
new file mode 100644
index 000000000..ab729fbd9
--- /dev/null
+++ b/3537/CH5/EX5.21/Ex5_21.txt
@@ -0,0 +1,2 @@
+OB=0.123 nm
+OC=0.394 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.22/Ex5_22.sce b/3537/CH5/EX5.22/Ex5_22.sce
new file mode 100644
index 000000000..96b4729e6
--- /dev/null
+++ b/3537/CH5/EX5.22/Ex5_22.sce
@@ -0,0 +1,12 @@
+//Example 5_22
+clc();
+clear;
+//To calculate the interplanar spacing distance
+h=1
+k=2
+l=3
+a=0.82 //units in nm
+b=0.94 //units in nm
+c=0.75 //units in nm
+d=((h/a)^2+(k/b)^2+(l/c)^2)^-0.5 //units in nm
+printf("Interplanar spacing d=%.3f nm",d)
diff --git a/3537/CH5/EX5.22/Ex5_22.txt b/3537/CH5/EX5.22/Ex5_22.txt
new file mode 100644
index 000000000..286c4f5b9
--- /dev/null
+++ b/3537/CH5/EX5.22/Ex5_22.txt
@@ -0,0 +1 @@
+Interplanar spacing d=0.213 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.23/Ex5_23.sce b/3537/CH5/EX5.23/Ex5_23.sce
new file mode 100644
index 000000000..e653a892f
--- /dev/null
+++ b/3537/CH5/EX5.23/Ex5_23.sce
@@ -0,0 +1,9 @@
+//Example 5_23
+clc();
+clear;
+//To find the interplanar spacing
+n=2
+lamda=0.12 //units in nm
+theta=28 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180))
+printf("Interplanar spacong d=%.2f nm",d)
diff --git a/3537/CH5/EX5.23/Ex5_23.txt b/3537/CH5/EX5.23/Ex5_23.txt
new file mode 100644
index 000000000..ced6bf132
--- /dev/null
+++ b/3537/CH5/EX5.23/Ex5_23.txt
@@ -0,0 +1 @@
+Interplanar spacong d=0.26 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.24/Ex5_24.sce b/3537/CH5/EX5.24/Ex5_24.sce
new file mode 100644
index 000000000..4959c6984
--- /dev/null
+++ b/3537/CH5/EX5.24/Ex5_24.sce
@@ -0,0 +1,12 @@
+//Example 5_24
+clc();
+clear;
+//To find the interplanar spacing and lamda
+n1=3
+lamda=97 //units in pm
+theta1=23 //units in degrees
+theta2=60 //units in degrees
+lamda1=(n1*lamda*sin(theta1*%pi/180))/(sin(theta2*%pi/180)) //units in pm
+d=(n1*lamda)/(2*sin(theta2*%pi/180))
+printf("lamda=%d pm",lamda1)
+printf("\n d=%d pm",d)
diff --git a/3537/CH5/EX5.24/Ex5_24.txt b/3537/CH5/EX5.24/Ex5_24.txt
new file mode 100644
index 000000000..2b147339d
--- /dev/null
+++ b/3537/CH5/EX5.24/Ex5_24.txt
@@ -0,0 +1,2 @@
+ lamda=131 pm
+ d=168 pm \ No newline at end of file
diff --git a/3537/CH5/EX5.25/Ex5_25.sce b/3537/CH5/EX5.25/Ex5_25.sce
new file mode 100644
index 000000000..404bbcf94
--- /dev/null
+++ b/3537/CH5/EX5.25/Ex5_25.sce
@@ -0,0 +1,12 @@
+//Example 5_25
+clc();
+clear;
+//To find the wavelength at which planes give rise to maximum intensity
+d=275 //units in pm
+theta=45 //units in degrees
+lamda=(2*d*sin(theta*%pi/180)) //units in pm
+n=3
+printf("\nFor n=3 lamda=%.2f",lamda/n)
+n=4
+printf("\nFor n=4 lamda=%.2f",lamda/n)
+printf("\nLamda lies beyond the range of wavelengths of polychromatic source")
diff --git a/3537/CH5/EX5.25/Ex5_25.txt b/3537/CH5/EX5.25/Ex5_25.txt
new file mode 100644
index 000000000..7df930bc8
--- /dev/null
+++ b/3537/CH5/EX5.25/Ex5_25.txt
@@ -0,0 +1,3 @@
+For n=3 lamda=129.64
+For n=4 lamda=97.23
+Lamda lies beyond the range of wavelengths of polychromatic source \ No newline at end of file
diff --git a/3537/CH5/EX5.26/Ex5_26.sce b/3537/CH5/EX5.26/Ex5_26.sce
new file mode 100644
index 000000000..1418acab9
--- /dev/null
+++ b/3537/CH5/EX5.26/Ex5_26.sce
@@ -0,0 +1,13 @@
+//Example 5_26
+clc();
+clear;
+//To calculate the braggs angle and Wavelength
+theta2=87 //units in degrees
+theta=theta2/2 //units in degrees
+h=1
+k=1
+l=1
+a=0.2 //units in nm
+d=a/sqrt(h^2+k^2+l^2) //units in nm
+lamda=2*d*sin(theta*%pi/180) //units in nm
+printf("lamda=%.3f nm",lamda)
diff --git a/3537/CH5/EX5.26/Ex5_26.txt b/3537/CH5/EX5.26/Ex5_26.txt
new file mode 100644
index 000000000..88e6a5e64
--- /dev/null
+++ b/3537/CH5/EX5.26/Ex5_26.txt
@@ -0,0 +1 @@
+ lamda=0.159 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.27/Ex5_27.sce b/3537/CH5/EX5.27/Ex5_27.sce
new file mode 100644
index 000000000..ba07869e2
--- /dev/null
+++ b/3537/CH5/EX5.27/Ex5_27.sce
@@ -0,0 +1,6 @@
+//Example 5_27
+clc();
+clear;
+//To identify unit cell and determine its dimensions
+printf("We have the relation sin^(theta)=((lamda/(2*a))^2*(h^2+k^2+l^2))=(j*((lamda/(2*a))^2)")
+printf("\n This can be used to Estimate the cell parameters and Indexing")
diff --git a/3537/CH5/EX5.27/Ex5_27.txt b/3537/CH5/EX5.27/Ex5_27.txt
new file mode 100644
index 000000000..eddb1979e
--- /dev/null
+++ b/3537/CH5/EX5.27/Ex5_27.txt
@@ -0,0 +1,2 @@
+We have the relation sin^(theta)=((lamda/(2*a))^2*(h^2+k^2+l^2))=(j*((lamda/(2*a))^2)
+ This can be used to Estimate the cell parameters and Indexing \ No newline at end of file
diff --git a/3537/CH5/EX5.28/Ex5_28.sce b/3537/CH5/EX5.28/Ex5_28.sce
new file mode 100644
index 000000000..e916a0ec7
--- /dev/null
+++ b/3537/CH5/EX5.28/Ex5_28.sce
@@ -0,0 +1,12 @@
+//Example 5_28
+clc();
+clear;
+//To calculate the effective temprature
+theta=28.5 //units in degrees
+d=0.203 //units in nm
+lamda=(2*d*sin(theta*%pi/180))*10^-9 //units in nano meters
+h=6.626*10^-34
+m=1.67*10^-27
+k=1.38*10^-23
+t=h^2/(3*m*k*lamda^2)
+printf("The effective tempratures is T=%d K",t)
diff --git a/3537/CH5/EX5.28/Ex5_28.txt b/3537/CH5/EX5.28/Ex5_28.txt
new file mode 100644
index 000000000..e98e7e660
--- /dev/null
+++ b/3537/CH5/EX5.28/Ex5_28.txt
@@ -0,0 +1 @@
+The effective tempratures is T=169 K \ No newline at end of file
diff --git a/3537/CH5/EX5.29/Ex5_29.sce b/3537/CH5/EX5.29/Ex5_29.sce
new file mode 100644
index 000000000..49616acaf
--- /dev/null
+++ b/3537/CH5/EX5.29/Ex5_29.sce
@@ -0,0 +1,16 @@
+//Example 5_29
+clc();
+clear;
+//To calculate the Braggs angle
+h=6.624*10^-34
+m=9.1*10^-31 //units in Kgs
+e=1.6*10^-19 //units in eV
+vo=80 //units in nm
+lamda=(h/sqrt(2*m*e*vo))*10^9 //units in m
+h=1
+k=1
+l=1
+lp=0.35 //units in nm
+d111=lp/sqrt(h^2+k^2+l^2) //units in nm
+theta=asin(lamda/(2*d111))*(180/%pi)
+printf("Braggs angle is %.2f Degrees",theta)
diff --git a/3537/CH5/EX5.29/Ex5_29.txt b/3537/CH5/EX5.29/Ex5_29.txt
new file mode 100644
index 000000000..a280ec689
--- /dev/null
+++ b/3537/CH5/EX5.29/Ex5_29.txt
@@ -0,0 +1 @@
+Braggs angle is 19.85 Degrees \ No newline at end of file
diff --git a/3537/CH5/EX5.3/Ex5_3.sce b/3537/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..57eba4193
--- /dev/null
+++ b/3537/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,11 @@
+//Example 5_3
+clc();
+clear;
+//To determine the interplanar spacing
+a=450 //units in nm
+h=2
+k=2
+l=0
+d220=a/sqrt(h^2+k^2+l^2) //units in nm
+printf("Inter planar spacing d220=%.1f nm",d220)
+//in text book the answer is printed wrong as 15.1 nm The answer is 159 nm
diff --git a/3537/CH5/EX5.3/Ex5_3.txt b/3537/CH5/EX5.3/Ex5_3.txt
new file mode 100644
index 000000000..d729103ed
--- /dev/null
+++ b/3537/CH5/EX5.3/Ex5_3.txt
@@ -0,0 +1 @@
+Inter planar spacing d220=159.1 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.30/Ex5_30.sce b/3537/CH5/EX5.30/Ex5_30.sce
new file mode 100644
index 000000000..4b6f269ff
--- /dev/null
+++ b/3537/CH5/EX5.30/Ex5_30.sce
@@ -0,0 +1,17 @@
+//Example 5_30
+clc();
+clear;
+//To give an explanation for the differences between samples
+lamda=0.152 //units in nm
+h=1
+k=1
+l=1
+theta1=21 //units in degrees
+theta2=383 //units in degrees
+d111a=lamda/(2*sin(theta1*%pi/180)) //units in nm
+d111b=lamda/(2*sin(theta2*%pi/180)) //units in nm
+alpha1=d111a*sqrt(h^2+k^2+l^2) //units in nm
+alpha2=d111b*sqrt(h^2+k^2+l^2) //units in nm
+printf("For sample A Alpha=%.3f nm",alpha1)
+printf("\nFor sample B Alpha=%.3f nm",alpha2)
+//In text book answers are printed wrong as 0.363nm and 0.361nm correct answers are 0.3 nm and 0.275nm
diff --git a/3537/CH5/EX5.30/Ex5_30.txt b/3537/CH5/EX5.30/Ex5_30.txt
new file mode 100644
index 000000000..50660766f
--- /dev/null
+++ b/3537/CH5/EX5.30/Ex5_30.txt
@@ -0,0 +1,2 @@
+For sample A Alpha=0.367 nm
+For sample B Alpha=0.337 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.31/Ex5_31.sce b/3537/CH5/EX5.31/Ex5_31.sce
new file mode 100644
index 000000000..ee3691321
--- /dev/null
+++ b/3537/CH5/EX5.31/Ex5_31.sce
@@ -0,0 +1,18 @@
+//Example 5_31
+clc();
+clear;
+//To find the lattice parameter and atomic diameter
+lamda=0.171 //units in nm
+theta1=30 //units in degrees
+theta2=35.283 //units in degrees
+d100=lamda/(2*sin(theta1*%pi/180))
+d200=lamda/(2*sin(theta2*%pi/180))
+h=1
+k=1
+l=0
+alpha1=d100*sqrt(h^2+k^2+l^2)
+alpha2=d200*sqrt(h^2+k^2+l^2)
+printf("As alpha1 != alpha2 that is %.3f!=%.3f \tMetal is not bee",alpha1,alpha2)
+a=0.296 //units in nm
+diam=a/(sqrt(h^2+k^2+l^2))
+printf("\nAtomic diameter is a=%.2f nm",diam)
diff --git a/3537/CH5/EX5.31/Ex5_31.txt b/3537/CH5/EX5.31/Ex5_31.txt
new file mode 100644
index 000000000..33b2816cd
--- /dev/null
+++ b/3537/CH5/EX5.31/Ex5_31.txt
@@ -0,0 +1,2 @@
+ As alpha1 != alpha2 that is 0.242!=0.209 Metal is not bee
+Atomic diameter is a=0.21 nm \ No newline at end of file
diff --git a/3537/CH5/EX5.32/Ex5_32.sce b/3537/CH5/EX5.32/Ex5_32.sce
new file mode 100644
index 000000000..6ca4a2ec0
--- /dev/null
+++ b/3537/CH5/EX5.32/Ex5_32.sce
@@ -0,0 +1,9 @@
+//Example 5_32
+clc();
+clear;
+//To find the plane which gives reflection
+D=0.228 //units in nm
+lamda=0.154 //units in nm
+hkl=((2*D)/((lamda/2)*sqrt(3)))^2
+printf("Tha maximum value that is possible for h^2+k^2+l^2=%.2f so (h,k,l) values are (2,2,2)",hkl)
+//In text book answer printed wrong as 13.98 correct answer is 11.69
diff --git a/3537/CH5/EX5.32/Ex5_32.txt b/3537/CH5/EX5.32/Ex5_32.txt
new file mode 100644
index 000000000..ad9cce0b5
--- /dev/null
+++ b/3537/CH5/EX5.32/Ex5_32.txt
@@ -0,0 +1 @@
+ Tha maximum value that is possible for h^2+k^2+l^2=11.69 so (h,k,l) values are (2,2,2) \ No newline at end of file
diff --git a/3537/CH5/EX5.33/Ex5_33.sce b/3537/CH5/EX5.33/Ex5_33.sce
new file mode 100644
index 000000000..abea72a1b
--- /dev/null
+++ b/3537/CH5/EX5.33/Ex5_33.sce
@@ -0,0 +1,12 @@
+//Example 5_33
+clc();
+clear;
+//To calculate the wavelength and maximum order of diffraction
+d=0.282*10^-9 //units in meters
+theta=8.583 //units in degrees
+lamda=2*d*(sin(theta*%pi/180))
+lamda1=lamda*10^10 //units in A
+theta=90 //units in degrees
+n=(2*(d)*sin(theta*%pi/180))/lamda
+printf("wave length lamda=%.3fA",lamda1)
+printf("\nMaximum order of diffraction n=%d",round(n))
diff --git a/3537/CH5/EX5.33/Ex5_33.txt b/3537/CH5/EX5.33/Ex5_33.txt
new file mode 100644
index 000000000..bfb3bec61
--- /dev/null
+++ b/3537/CH5/EX5.33/Ex5_33.txt
@@ -0,0 +1,2 @@
+wave length lamda=0.842A
+Maximum order of diffraction n=7 \ No newline at end of file
diff --git a/3537/CH5/EX5.34/Ex5_34.sce b/3537/CH5/EX5.34/Ex5_34.sce
new file mode 100644
index 000000000..6233ad166
--- /dev/null
+++ b/3537/CH5/EX5.34/Ex5_34.sce
@@ -0,0 +1,9 @@
+//Example 5_34
+clc();
+clear;
+//To find the angle at which it occurs
+n=3
+lemda=0.79*10^-10 //units in meters
+d=3.04*10^-10 //units in meters
+theta=asin((n*lemda)/(2*d))*180/%pi
+printf("The angle at which it occurs is %.3f degrees",theta)
diff --git a/3537/CH5/EX5.34/Ex5_34.txt b/3537/CH5/EX5.34/Ex5_34.txt
new file mode 100644
index 000000000..983251ef7
--- /dev/null
+++ b/3537/CH5/EX5.34/Ex5_34.txt
@@ -0,0 +1 @@
+The angle at which it occurs is 22.942 degrees \ No newline at end of file
diff --git a/3537/CH5/EX5.4/Ex5_4.sce b/3537/CH5/EX5.4/Ex5_4.sce
new file mode 100644
index 000000000..40b988032
--- /dev/null
+++ b/3537/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,13 @@
+//Example 5_4
+clc();
+clear;
+//To determine the interplanar spacing
+r=1.278*10^-10 //units in meters
+a=(4*r)/sqrt(2) //units in meters
+h=1
+k=1
+l=1
+d111=a/sqrt(h^2+k^2+l^2) //units in meters
+printf("Inter planar spacing d111=")
+disp(d111)
+printf("meters")
diff --git a/3537/CH5/EX5.4/Ex5_4.txt b/3537/CH5/EX5.4/Ex5_4.txt
new file mode 100644
index 000000000..52e8bc328
--- /dev/null
+++ b/3537/CH5/EX5.4/Ex5_4.txt
@@ -0,0 +1 @@
+Inter planar spacing d111= 2.087D-10 meters \ No newline at end of file
diff --git a/3537/CH5/EX5.5/Ex5_5.sce b/3537/CH5/EX5.5/Ex5_5.sce
new file mode 100644
index 000000000..7c14e1ea6
--- /dev/null
+++ b/3537/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,15 @@
+//Example 5_5
+clc();
+clear;
+//To find the lattice parameter of lead
+theta=30 //units in degrees
+n=1
+l=1.54*10^-10 //units in meters
+d=(n*l)/(2*sin(theta*%pi/180))
+h=2
+k=2
+l=0
+a=d*(sqrt(h^2+k^2+l^2)) //units in meters
+a=a*10^10 //units in Armstrongs
+printf("Lattice parameter is a=%.1f A",a)
+//in text book the answer is printed wrong as 4.1A The answer is 4.4A nm
diff --git a/3537/CH5/EX5.5/Ex5_5.txt b/3537/CH5/EX5.5/Ex5_5.txt
new file mode 100644
index 000000000..7dc599a30
--- /dev/null
+++ b/3537/CH5/EX5.5/Ex5_5.txt
@@ -0,0 +1 @@
+Lattice parameter is a=4.4 A \ No newline at end of file
diff --git a/3537/CH5/EX5.6/Ex5_6.sce b/3537/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..c34d79b6b
--- /dev/null
+++ b/3537/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,20 @@
+//Example 5_6
+clc();
+clear;
+//To calculate the inter planar spacing
+//For theta=6.45
+theta=6.45 //units in degrees
+lamda=0.58 //units in Armstrongs
+d_n=lamda/sin(6.45*%pi/180) //units in Armstrongs
+printf("Inter planara spacing at %.2fDegrees is d/n=%.3f Armstrongs",theta,d_n)
+//For theta=9.15
+theta=9.15 //units in degrees
+lamda=0.58 //units in Armstrongs
+d_n=lamda/sin(9.15*%pi/180) //units in Armstrongs
+printf("\nInter planara spacing at %.2fDegrees is d/n=%.3f Armstrongs",theta,d_n)
+//For theta=13
+theta=13 //units in degrees
+lamda=0.58 //units in Armstrongs
+d_n=lamda/sin(13*%pi/180) //units in Armstrongs
+printf("\nInter planara spacing at %.2fDegrees is d/n=%.3f Armstrongs",theta,d_n)
+//In text book the answers are printed wrong as 2.568A, 1.817A,1.288A the correct answers are 5.163A,3.647A,2.578A
diff --git a/3537/CH5/EX5.6/Ex5_6.txt b/3537/CH5/EX5.6/Ex5_6.txt
new file mode 100644
index 000000000..a3a9ef3a6
--- /dev/null
+++ b/3537/CH5/EX5.6/Ex5_6.txt
@@ -0,0 +1,3 @@
+ Inter planara spacing at 6.45Degrees is d/n=5.163 Armstrongs
+Inter planara spacing at 9.15Degrees is d/n=3.647 Armstrongs
+Inter planara spacing at 13.00Degrees is d/n=2.578 Armstrongs \ No newline at end of file
diff --git a/3537/CH5/EX5.7/Ex5_7.sce b/3537/CH5/EX5.7/Ex5_7.sce
new file mode 100644
index 000000000..d01454140
--- /dev/null
+++ b/3537/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,10 @@
+//Example 5_7
+clc();
+clear;
+//To find the order of braggs equation
+d=1.181 //units in A
+theta=90 //units in degrees
+lamda=1.540
+n=(2*d*sin(theta*%pi/180))/lamda
+
+printf("The order of Braggs equation is %d",n)
diff --git a/3537/CH5/EX5.7/Ex5_7.txt b/3537/CH5/EX5.7/Ex5_7.txt
new file mode 100644
index 000000000..33b03aacf
--- /dev/null
+++ b/3537/CH5/EX5.7/Ex5_7.txt
@@ -0,0 +1 @@
+The order of Braggs equation is 1 \ No newline at end of file
diff --git a/3537/CH5/EX5.8/Ex5_8.sce b/3537/CH5/EX5.8/Ex5_8.sce
new file mode 100644
index 000000000..63e7008fe
--- /dev/null
+++ b/3537/CH5/EX5.8/Ex5_8.sce
@@ -0,0 +1,10 @@
+//Example 5_8
+clc();
+clear;
+//To find lattice parameter
+n=1
+lamda=0.58 //units in A
+theta=9.5 //units in degrees
+a=(n*lamda)/(2*sin(theta*%pi/180))
+printf("lattice parametera=%.3fA",a)
+//In text book answer printed wrong as 3.52A correct answer is 1.75A
diff --git a/3537/CH5/EX5.8/Ex5_8.txt b/3537/CH5/EX5.8/Ex5_8.txt
new file mode 100644
index 000000000..1d18ab1a2
--- /dev/null
+++ b/3537/CH5/EX5.8/Ex5_8.txt
@@ -0,0 +1 @@
+ lattice parametera=1.757A \ No newline at end of file
diff --git a/3537/CH5/EX5.9/Ex5_9.sce b/3537/CH5/EX5.9/Ex5_9.sce
new file mode 100644
index 000000000..ca71f5780
--- /dev/null
+++ b/3537/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,14 @@
+//Example 5_9
+clc();
+clear;
+//To calculate the glancing angle
+theta1=8.58 //units in degrees
+n1=3
+lamda1=0.842 //units in A
+n2=3
+lamda2=0.842 //units in A
+sintheta3=(sin(theta1*%pi/180)*n1*lamda1)/(n2*lamda2)
+theta3=asin(sintheta3)*180/%pi*3
+printf("The Glancing angle is Theta3=%.2f degrees",theta3)
+
+
diff --git a/3537/CH5/EX5.9/Ex5_9.txt b/3537/CH5/EX5.9/Ex5_9.txt
new file mode 100644
index 000000000..98c8e6ee9
--- /dev/null
+++ b/3537/CH5/EX5.9/Ex5_9.txt
@@ -0,0 +1 @@
+The Glancing angle is Theta3=25.74 degrees \ No newline at end of file