summaryrefslogtreecommitdiff
path: root/1367/CH4/EX4.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1367/CH4/EX4.3
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/EX4.3')
-rwxr-xr-x1367/CH4/EX4.3/4_3.sce12
-rwxr-xr-x1367/CH4/EX4.3/4_3_r.txt8
2 files changed, 20 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