summaryrefslogtreecommitdiff
path: root/3768/CH4
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3768/CH4
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 '3768/CH4')
-rw-r--r--3768/CH4/EX4.1/Ex4_1.sce19
-rw-r--r--3768/CH4/EX4.10/Ex4_10.sce21
-rw-r--r--3768/CH4/EX4.2/Ex4_2.sce14
-rw-r--r--3768/CH4/EX4.3/Ex4_3.sce19
-rw-r--r--3768/CH4/EX4.4/Ex4_4.sce20
-rw-r--r--3768/CH4/EX4.5/Ex4_5.sce16
-rw-r--r--3768/CH4/EX4.6/Ex4_6.sce19
-rw-r--r--3768/CH4/EX4.7/Ex4_7.sce24
-rw-r--r--3768/CH4/EX4.8/Ex4_8.sce18
-rw-r--r--3768/CH4/EX4.9/Ex4_9.sce19
10 files changed, 189 insertions, 0 deletions
diff --git a/3768/CH4/EX4.1/Ex4_1.sce b/3768/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..c0ffb5ecc
--- /dev/null
+++ b/3768/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,19 @@
+//Example number 4.1, Page number 66
+
+clc;clear;
+close;
+
+//Variable declaration
+d=0.282*10**-9; //lattice spacing(m)
+theta=8+(35/60); //glancing angle(degree)
+n=1; //order
+Theta=90; //angle(degree)
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+Theta=Theta*%pi/180; //angle(radian)
+lamda=2*d*sin(theta)/n; //wavelength(m)
+nmax=2*d*sin(Theta)/lamda; //maximum order of diffraction
+//Result
+printf("wavelength is %.3f Angstrom",lamda*10**10)
+//answer varies due to rounding off errors
+printf("\n maximum order of diffraction is %d",round(nmax))
diff --git a/3768/CH4/EX4.10/Ex4_10.sce b/3768/CH4/EX4.10/Ex4_10.sce
new file mode 100644
index 000000000..32e1a87ba
--- /dev/null
+++ b/3768/CH4/EX4.10/Ex4_10.sce
@@ -0,0 +1,21 @@
+//Example number 4.10, Page number 70
+
+clc;clear;
+close;
+
+//Variable declaration
+n=1; //order
+h=1;
+k=1;
+l=1;
+e=1.6*10**-19; //charge(c)
+V=5000; //voltage(V)
+m=9.1*10**-31; //mass(kg)
+H=6.625*10**-34; //plank constant
+d=0.204*10**-9; //interplanar spacing(m)
+//Calculation
+lamda=H/sqrt(2*m*e*V); //wavelength(m)
+theta=asin(n*lamda/(2*d)); //bragg's angle(radian)
+theta=theta*180/%pi; //bragg's angle(degree)
+//Result
+printf("bragg''s angle is %.4f degree",theta)
diff --git a/3768/CH4/EX4.2/Ex4_2.sce b/3768/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..5350703d7
--- /dev/null
+++ b/3768/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,14 @@
+//Example number 4.2, Page number 66
+
+clc;clear;
+close;
+
+//Variable declaration
+d=3.04*10**-10; //lattice spacing(m)
+n=3; //order
+lamda=0.79*10**-10; //wavelength(m)
+//Calculation
+theta=asin(n*lamda/(2*d)); //glancing angle(radian)
+theta=theta*180/%pi; //glancing angle(degrees)
+//Result
+printf("glancing angle is %.3f degree",theta)
diff --git a/3768/CH4/EX4.3/Ex4_3.sce b/3768/CH4/EX4.3/Ex4_3.sce
new file mode 100644
index 000000000..b69bc2af1
--- /dev/null
+++ b/3768/CH4/EX4.3/Ex4_3.sce
@@ -0,0 +1,19 @@
+//Example number 4.3, Page number 66
+
+clc;clear;
+close;
+
+//Variable declaration
+a=0.28*10**-9; //lattice spacing(m)
+n=2; //order
+lamda=0.071*10**-9; //wavelength(m)
+h=1;
+k=1;
+l=0;
+//Calculation
+d110=a/sqrt(h**2+k**2+l**2); //spacing(m)
+theta=asin(n*lamda/(2*d110)); //glancing angle(radian)
+theta=theta*180/%pi; //glancing angle(degrees)
+//Result
+printf("glancing angle is %.2f degree",theta)
+//answer in the book is wrong
diff --git a/3768/CH4/EX4.4/Ex4_4.sce b/3768/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..40e9f17c9
--- /dev/null
+++ b/3768/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,20 @@
+//Example number 4.4, Page number 67
+
+clc;clear;
+close;
+
+//Variable declaration
+n=1; //order
+lamda=3*10**-10; //wavelength(m)
+h=1;
+k=0;
+l=0;
+theta=40; //angle(degree)
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+d=n*lamda/(2*sin(theta)); //space of plane(m)
+a=d*sqrt(h**2+k**2+l**2);
+V=a**3; //volume of unit cell(m**3)
+//Result
+printf("space of plane is %.4f Angstrom",d*10**10)
+printf("\n volume of unit cell is %.3e m**3",V)
diff --git a/3768/CH4/EX4.5/Ex4_5.sce b/3768/CH4/EX4.5/Ex4_5.sce
new file mode 100644
index 000000000..d8e30486c
--- /dev/null
+++ b/3768/CH4/EX4.5/Ex4_5.sce
@@ -0,0 +1,16 @@
+//Example number 4.5, Page number 67
+
+clc;clear;
+close;
+
+//Variable declaration
+a=3; //lattice spacing(m)
+n=1; //order
+lamda=0.82*10**-9; //wavelength(m)
+theta=75.86; //angle(degree)
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+d=n*10**10*lamda/(2*sin(theta)); //spacing(angstrom)
+//Result
+printf("spacing is %.2f Angstrom",d)
+//answer in the book is wrong. hence the miller indices given in the book are also wrong.
diff --git a/3768/CH4/EX4.6/Ex4_6.sce b/3768/CH4/EX4.6/Ex4_6.sce
new file mode 100644
index 000000000..b30ba295f
--- /dev/null
+++ b/3768/CH4/EX4.6/Ex4_6.sce
@@ -0,0 +1,19 @@
+//Example number 4.6, Page number 68
+
+clc;clear;
+close;
+
+//Variable declaration
+e=1.6*10**-19; //charge(c)
+m=9.1*10**-31; //mass(kg)
+h=6.625*10**-34; //plank constant
+n=1; //order
+theta=9+(12/60)+(25/(60*60)); //angle(degree)
+V=235.2; //kinetic energy of electron(eV)
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+lamda=h*10**10/sqrt(2*m*e*V);
+d=n*lamda/(2*sin(theta)); //interplanar spacing(angstrom)
+//Result
+printf("interplanar spacing is %.3f Angstrom",d)
+//answer in the book is wrong
diff --git a/3768/CH4/EX4.7/Ex4_7.sce b/3768/CH4/EX4.7/Ex4_7.sce
new file mode 100644
index 000000000..e675bfe57
--- /dev/null
+++ b/3768/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,24 @@
+//Example number 4.7, Page number 68
+
+clc;clear;
+close;
+
+//Variable declaration
+n=1; //order
+h=1;
+k=1;
+l=1;
+e=1.6*10**-19; //charge(c)
+theta=27.5; //angle(degree)
+H=6.625*10**-34; //plancks constant
+c=3*10**10; //velocity of light(m)
+a=5.63*10**-10; //lattice constant(m)
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+d=a/sqrt(h**2+k**2+l**2);
+lamda=2*d*sin(theta)/n; //wavelength of Xray beam(m)
+E=H*c/(e*lamda); //energy of Xray beam(eV)
+//Result
+printf("wavelength of X-ray beam is %.f Angstrom",int32(lamda*10**10))
+printf("\n energy of Xray beam is %.2e eV",E)
+//answer in the book is wrong
diff --git a/3768/CH4/EX4.8/Ex4_8.sce b/3768/CH4/EX4.8/Ex4_8.sce
new file mode 100644
index 000000000..724e9cca8
--- /dev/null
+++ b/3768/CH4/EX4.8/Ex4_8.sce
@@ -0,0 +1,18 @@
+//Example number 4.8, Page number 69
+
+clc;clear;
+close;
+
+//Variable declaration
+e=1.6*10**-19; //charge(c)
+theta=56; //angle(degree)
+V=854; //voltage(V)
+n=1; //order of diffraction
+m=9.1*10**-31; //mass(kg)
+h=6.625*10**-34; //plank constant
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+lamda=h/sqrt(2*m*e*V); //wavelength(m)
+d=n*lamda/(2*sin(theta))*10**10; //spacing of crystal(Angstrom)
+//Result
+printf("spacing of crystal is %.3f Angstrom",d)
diff --git a/3768/CH4/EX4.9/Ex4_9.sce b/3768/CH4/EX4.9/Ex4_9.sce
new file mode 100644
index 000000000..dd926c384
--- /dev/null
+++ b/3768/CH4/EX4.9/Ex4_9.sce
@@ -0,0 +1,19 @@
+//Example number 4.9, Page number 69
+
+clc;clear;
+close;
+
+//Variable declaration
+n=1; //order
+h=2;
+k=0;
+l=2;
+theta=34; //angle(degree)
+lamda=1.5; //wavelength(angstrom)
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+d=n*lamda/(2*sin(theta)); //spacing of crystal(angstrom)
+a=d*sqrt(h**2+k**2+l**2); //lattice parameter(angstrom)
+//Result
+printf("lattice parameter is %.3f Anstrom",a)
+//answer in the book is wrong