summaryrefslogtreecommitdiff
path: root/1367/CH4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1367/CH4
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 '1367/CH4')
-rwxr-xr-x1367/CH4/EX4.3/4_3.sce12
-rwxr-xr-x1367/CH4/EX4.3/4_3_r.txt8
-rwxr-xr-x1367/CH4/EX4.4/4_4.sce16
-rwxr-xr-x1367/CH4/EX4.4/4_4_r.txt8
-rwxr-xr-x1367/CH4/EX4.5/4_5.sce17
-rwxr-xr-x1367/CH4/EX4.5/4_5_r.txt7
-rwxr-xr-x1367/CH4/EX4.6/4_6.sce14
-rwxr-xr-x1367/CH4/EX4.6/4_6_r.txt8
8 files changed, 90 insertions, 0 deletions
diff --git a/1367/CH4/EX4.3/4_3.sce b/1367/CH4/EX4.3/4_3.sce
new file mode 100755
index 000000000..127ca5e9e
--- /dev/null
+++ b/1367/CH4/EX4.3/4_3.sce
@@ -0,0 +1,12 @@
+//Find Lattice constant and atomic packing fraction of NaCl having FCC structure
+//Ex:4.3
+clc;
+clear;
+close;
+r_na=0.98;//ionic radius of sodium in angstorm
+r_cl=1.81;//ionic radius of chlorine in angstorm
+n=4;//in fcc there are 4 Na and 4 Cl ions
+a=((2*r_na)+(2*r_cl));//latice constant
+disp(a,"Lattice constant = ");
+apf=((n*(4/3)*3.14*r_na^3)+(n*(4/3)*3.14*r_cl^3))/a^3;
+disp(apf,"atomic packing fraction of NaCl having FCC structure = "); \ No newline at end of file
diff --git a/1367/CH4/EX4.3/4_3_r.txt b/1367/CH4/EX4.3/4_3_r.txt
new file mode 100755
index 000000000..35f779b42
--- /dev/null
+++ b/1367/CH4/EX4.3/4_3_r.txt
@@ -0,0 +1,8 @@
+ Lattice constant =
+
+ 5.58
+
+ atomic packing fraction of NaCl having FCC structure =
+
+ 0.6622798
+ \ No newline at end of file
diff --git a/1367/CH4/EX4.4/4_4.sce b/1367/CH4/EX4.4/4_4.sce
new file mode 100755
index 000000000..c6b717cbc
--- /dev/null
+++ b/1367/CH4/EX4.4/4_4.sce
@@ -0,0 +1,16 @@
+//Find density of Copper
+//Ex:4.4
+clc;
+clear;
+close;
+r=1.278;//radius of copper in angstorm
+//copper has FCC structure
+a=4*r/sqrt(2);//in angstorm
+disp(a,"a (in Angstorm) = ");
+a1=a*10^-8;//in cm
+aw=63.54;//atomic weight of copper
+ne=4;//fcc
+na=6.023*10^23;//Avagadro's no.
+p=aw*ne/(na*a1^3);//in g/cm^3
+p1=10^3*p;
+disp(p1,"Density of Copper (in kg/cu m)"); \ No newline at end of file
diff --git a/1367/CH4/EX4.4/4_4_r.txt b/1367/CH4/EX4.4/4_4_r.txt
new file mode 100755
index 000000000..e7e555aa5
--- /dev/null
+++ b/1367/CH4/EX4.4/4_4_r.txt
@@ -0,0 +1,8 @@
+
+ a (in Angstorm) =
+
+ 3.6147299
+
+ Density of Copper (in kg/cu m)
+
+ 8934.4289 \ No newline at end of file
diff --git a/1367/CH4/EX4.5/4_5.sce b/1367/CH4/EX4.5/4_5.sce
new file mode 100755
index 000000000..1d5c8678e
--- /dev/null
+++ b/1367/CH4/EX4.5/4_5.sce
@@ -0,0 +1,17 @@
+//Find Distance between two adjacent atoms
+//Ex:4.5
+clc;
+clear;
+close;
+w_na=23;//atomic weight of Na
+w_cl=35.5;//atomic weight of Cl
+w=w_na+w_cl;//effective no.of atoms in FCC structure
+n=4;//FCC
+na=6.023*10^23;//Avagadrro's no.
+w_4=w*n/na;//weight of 4 molecules in gm
+p=2.18;//density in gm/cm^3
+a=(w_4/p)^(1/3);//in cm
+a1=a*10^8;//in angstorm
+disp(a1,"unit cell dimension (in angstorm) = ");
+d=a1/2;
+disp(d,"Distance between two adjacent atoms (in Angstorm) = "); \ No newline at end of file
diff --git a/1367/CH4/EX4.5/4_5_r.txt b/1367/CH4/EX4.5/4_5_r.txt
new file mode 100755
index 000000000..9da5c9641
--- /dev/null
+++ b/1367/CH4/EX4.5/4_5_r.txt
@@ -0,0 +1,7 @@
+unit cell dimension (in angstorm) =
+
+ 5.6275
+
+ Distance between two adjacent atoms (in Angstorm) =
+
+ 2.81375 \ No newline at end of file
diff --git a/1367/CH4/EX4.6/4_6.sce b/1367/CH4/EX4.6/4_6.sce
new file mode 100755
index 000000000..facad2850
--- /dev/null
+++ b/1367/CH4/EX4.6/4_6.sce
@@ -0,0 +1,14 @@
+//Find atomic radius
+//Ex:4.6
+clc;
+clear;
+close;
+n=2;//BCC
+p=7.86;//density in gm/cm^3
+aw=55.85;//atomic weight of iron
+na=6.023*10^23;//Avagadrro's no.
+a=((aw*n)/(na*p))^(1/3);//in cm
+a1=a*10^8;//in angstorm
+disp(a1,"unit cell dimension of iron (in angstorm) = ");
+r=sqrt(3)*a1/4;
+disp(r,"atomic radius = "); \ No newline at end of file
diff --git a/1367/CH4/EX4.6/4_6_r.txt b/1367/CH4/EX4.6/4_6_r.txt
new file mode 100755
index 000000000..a2080d769
--- /dev/null
+++ b/1367/CH4/EX4.6/4_6_r.txt
@@ -0,0 +1,8 @@
+ unit cell dimension of iron (in angstorm) =
+
+ 2.8681768
+
+ atomic radius =
+
+ 1.241957
+ \ No newline at end of file