summaryrefslogtreecommitdiff
path: root/2708/CH14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2708/CH14
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 '2708/CH14')
-rwxr-xr-x2708/CH14/EX14.10/ex_14_10.sce13
-rwxr-xr-x2708/CH14/EX14.11/ex_14_11.sce13
-rwxr-xr-x2708/CH14/EX14.12/ex_14_12.sce11
-rwxr-xr-x2708/CH14/EX14.4/ex_14_4.sce14
-rwxr-xr-x2708/CH14/EX14.5/ex_14_5.sce16
-rwxr-xr-x2708/CH14/EX14.6/ex_14_6.sce25
-rwxr-xr-x2708/CH14/EX14.7/ex_14_7.sce16
7 files changed, 108 insertions, 0 deletions
diff --git a/2708/CH14/EX14.10/ex_14_10.sce b/2708/CH14/EX14.10/ex_14_10.sce
new file mode 100755
index 000000000..7d305da2c
--- /dev/null
+++ b/2708/CH14/EX14.10/ex_14_10.sce
@@ -0,0 +1,13 @@
+//Example 14.10 // Energy to create defect
+clc;
+clear;
+//given data :
+a=2.82D-10;// interionic distance in m
+T=298;// temperture in kelvin
+k=8.625D-5;// Boltzmann constant eV/k
+n=5D11;// density of defects in per m3
+V=(2*a)^3;//volume of unit cell
+p=4;// no. of ion pairs
+N=p/V;// no. of ion pairs per m3
+E=2*k*T*log(N/n);// energy in eV
+disp(E, "Energy to create defect in eV")
diff --git a/2708/CH14/EX14.11/ex_14_11.sce b/2708/CH14/EX14.11/ex_14_11.sce
new file mode 100755
index 000000000..8b4422743
--- /dev/null
+++ b/2708/CH14/EX14.11/ex_14_11.sce
@@ -0,0 +1,13 @@
+//Example 14.11 // no. of defects
+clc;
+clear;
+//given data :
+k=8.625D-5;// Boltzmann constant eV/k
+E=1.4;// energy to create defect in eV
+T1=293;// temperature in kelvin
+T2=573;// temperature in kelvin
+ratio=exp((-E/k)*(1/(2*T1)-1/(2*T2)));// ratio of no. of defects at T1 & T2
+format('e',10);ratio;
+disp(ratio, "ratio of number of Frenkel defect")
+ratio=1/ratio;//
+disp(ratio,"it can be written as")
diff --git a/2708/CH14/EX14.12/ex_14_12.sce b/2708/CH14/EX14.12/ex_14_12.sce
new file mode 100755
index 000000000..c21d63b3a
--- /dev/null
+++ b/2708/CH14/EX14.12/ex_14_12.sce
@@ -0,0 +1,11 @@
+//Example 14.12 // fraction of vacancy sites
+clc;
+clear;
+//given data :
+f=1D-10;// fraction of vacancy sites
+T1=500;// temperature in degree
+T2=2*T1;// condition given
+T1=T1+273;// to convert in kelvin
+T2=T2+273;// to convert in kelvin
+f1=exp(T1*log(f)/T2);//new fraction
+disp(f1,"new fraction at new temperature")
diff --git a/2708/CH14/EX14.4/ex_14_4.sce b/2708/CH14/EX14.4/ex_14_4.sce
new file mode 100755
index 000000000..c3ef3f286
--- /dev/null
+++ b/2708/CH14/EX14.4/ex_14_4.sce
@@ -0,0 +1,14 @@
+//Example 14.4 // wavelength & angle
+clc;
+clear;
+//given data :
+d=2.82;//spacing between successive planes in A
+theta=8+35/60;//in degree
+theta=theta*%pi/180;// to convert in radian
+n=1;// order of reflection
+lamda=2*d*sin(theta) /n;//de-broglie equation
+disp(lamda,"wavelength of NaCl in A ")
+n=2;//to find angleof reflection
+theta=asin(n*lamda/(2*d));//angle of reflection radian
+theta=theta*180/%pi;// to convert in degree
+disp(theta,"angle of reflection in degree")
diff --git a/2708/CH14/EX14.5/ex_14_5.sce b/2708/CH14/EX14.5/ex_14_5.sce
new file mode 100755
index 000000000..c63b786fa
--- /dev/null
+++ b/2708/CH14/EX14.5/ex_14_5.sce
@@ -0,0 +1,16 @@
+//Example 14.5 // wavelength & speed of neutron
+clc;
+clear;
+//given data :
+n=1;// given first reflection
+d=3.84;//spacing between successive planes in A
+m=1.67D-27;// mass of neutron in kg
+theta=30;//in degree
+theta=theta*%pi/180;// to convert in radian
+lamda=2*d*sin(theta) /n;//de-broglie equation
+disp(lamda,"wavelength of neutron in A ")
+h=6.626D-34;// plank's constant in joules-sec
+lamda=lamda*1D-10;// to convert in m
+v=h/(m*lamda);// e-Broglie relation
+disp(v,"speed of neutron in m/s")
+// in book it is wrongly calculated
diff --git a/2708/CH14/EX14.6/ex_14_6.sce b/2708/CH14/EX14.6/ex_14_6.sce
new file mode 100755
index 000000000..9b0a0c0eb
--- /dev/null
+++ b/2708/CH14/EX14.6/ex_14_6.sce
@@ -0,0 +1,25 @@
+//Example 14.6 // spacing d
+clc;
+clear;
+// 1st part
+theta=5+28/60;// given glancing angle in degree
+n=1;//order of reflections
+lamda=.586;// wavelength in A
+theta=theta*%pi/180;//to convert in degree
+d=n*lamda/(2*sin(theta));// spacing
+disp(d,"spacing in A")
+// in question there is a mistake
+// 2nd part
+theta=12+1/60;// given glancing angle in degree
+n=2;//order of reflections
+theta=theta*%pi/180;//to convert in degree
+d=n*lamda/(2*sin(theta));// spacing
+disp(d,"spacing in A")
+//3rd part
+theta=18+12/60;// given glancing angle in degree
+n=3;//order of reflections
+theta=theta*%pi/180;//to convert in degree
+d=n*lamda/(2*sin(theta));// spacing
+disp(d,"spacing in A")
+
+//The glancing angle is taken differently in the solution
diff --git a/2708/CH14/EX14.7/ex_14_7.sce b/2708/CH14/EX14.7/ex_14_7.sce
new file mode 100755
index 000000000..f99d055a7
--- /dev/null
+++ b/2708/CH14/EX14.7/ex_14_7.sce
@@ -0,0 +1,16 @@
+//Example 14.7 // glancing angle
+clc;
+clear;
+//given data :
+// 1st part
+lamda=1.549;// wavelength in A
+d=4.255;// in ter planer spacing in A
+n=1;//order of reflection
+theta=asin(n*lamda/(2*d));// glacing angle in radian
+theta=theta*180/%pi;// to convert in degree
+disp(theta,"glancing angle in degree")
+// 2nd part
+n=2;//order of reflection
+theta=asin(n*lamda/(2*d));// glacing angle in radian
+theta=theta*180/%pi;// to convert in degree
+disp(theta,"glancing angle in degree")