summaryrefslogtreecommitdiff
path: root/1787/CH1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1787/CH1
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 '1787/CH1')
-rwxr-xr-x1787/CH1/EX1.3/Exa1_3.sce17
-rwxr-xr-x1787/CH1/EX1.4/Exa1_4.sce15
-rwxr-xr-x1787/CH1/EX1.5/Exa1_5.sce11
-rwxr-xr-x1787/CH1/EX1.6/Exa1_6.sce10
-rwxr-xr-x1787/CH1/EX1.7/Exa1_7.sce12
5 files changed, 65 insertions, 0 deletions
diff --git a/1787/CH1/EX1.3/Exa1_3.sce b/1787/CH1/EX1.3/Exa1_3.sce
new file mode 100755
index 000000000..1ff1f18a3
--- /dev/null
+++ b/1787/CH1/EX1.3/Exa1_3.sce
@@ -0,0 +1,17 @@
+//Exa 1.3
+clc;
+clear;
+close;
+//given data
+r=1.278;//in Angstrum
+AtomicWeight=63.5;//constant
+AvogadroNo=6.023*10^23;//constant
+//For FCC structure a=4*r/sqrt(2)
+a=4*r*10^-10/sqrt(2);//in meter
+V=a^3;//in meter^3
+//mass of one atom = m
+m=AtomicWeight/AvogadroNo;//in gm
+m=m/1000;//in Kg
+n=4;// no. of atoms per unit cell for FCC structure
+rho=m*n/V;//in Kg/m^3
+disp(rho,"Density of crystal in Kg/m^3: "); \ No newline at end of file
diff --git a/1787/CH1/EX1.4/Exa1_4.sce b/1787/CH1/EX1.4/Exa1_4.sce
new file mode 100755
index 000000000..211234839
--- /dev/null
+++ b/1787/CH1/EX1.4/Exa1_4.sce
@@ -0,0 +1,15 @@
+//Exa 1.4
+clc;
+clear;
+close;
+//given data
+n=4;// no. of atoms per unit cell of silicon
+AtomicWeight=28;//constant
+AvogadroNo=6.021*10^23;//constant
+m=AtomicWeight/AvogadroNo;//in gm
+m=m/1000;//in Kg
+a=5.3;//lattice constant in Angstrum
+a=a*10^-10;//in meter
+V=a^3;//in meter^3
+rho=m*n/V;//in Kg/m^3
+disp(rho,"Density of silicon crystal in Kg/m^3: "); \ No newline at end of file
diff --git a/1787/CH1/EX1.5/Exa1_5.sce b/1787/CH1/EX1.5/Exa1_5.sce
new file mode 100755
index 000000000..10852962c
--- /dev/null
+++ b/1787/CH1/EX1.5/Exa1_5.sce
@@ -0,0 +1,11 @@
+//Exa 1.5
+clc;
+clear;
+close;
+//given data
+a=4.75;//lattice constant in Angstrum
+a=a*10^-10;//in meter
+disp("Surface density in FCC on (111)Plane : dp = 2.31/a^2");
+dp=2.31/a^2;//in atom/m^2
+dp=dp/10^6;//in atom/mm^2
+disp(dp,"Surface density in FCC on (111)Plane in atoms/mm^2: "); \ No newline at end of file
diff --git a/1787/CH1/EX1.6/Exa1_6.sce b/1787/CH1/EX1.6/Exa1_6.sce
new file mode 100755
index 000000000..f367c89e8
--- /dev/null
+++ b/1787/CH1/EX1.6/Exa1_6.sce
@@ -0,0 +1,10 @@
+//Exa 1.6
+clc;
+clear;
+close;
+//given data
+lambda=1.539;//in Angstrum
+theta=22.5;//in degree
+n=1;//order unitless
+d=n*lambda/(2*sin(theta*%pi/180));//in Angstrum
+disp(d,"Interpolar distance in Angstrum : ") \ No newline at end of file
diff --git a/1787/CH1/EX1.7/Exa1_7.sce b/1787/CH1/EX1.7/Exa1_7.sce
new file mode 100755
index 000000000..4a36e3edd
--- /dev/null
+++ b/1787/CH1/EX1.7/Exa1_7.sce
@@ -0,0 +1,12 @@
+//Exa 1.7
+clc;
+clear;
+close;
+//given data
+
+theta=16.8/2;//in degree
+n=2;//order unitless
+d=0.4;//in nm
+lambda=(2*d*sin(theta*%pi/180))/n;//in Angstrum
+disp(lambda,"wavelength of X-rays in Angstrum : ");
+//Note: Ans in the book is not correct \ No newline at end of file