summaryrefslogtreecommitdiff
path: root/1664/CH6/EX6.18/Ex6_18.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1664/CH6/EX6.18/Ex6_18.sce
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 '1664/CH6/EX6.18/Ex6_18.sce')
-rwxr-xr-x1664/CH6/EX6.18/Ex6_18.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1664/CH6/EX6.18/Ex6_18.sce b/1664/CH6/EX6.18/Ex6_18.sce
new file mode 100755
index 000000000..e47e5c45d
--- /dev/null
+++ b/1664/CH6/EX6.18/Ex6_18.sce
@@ -0,0 +1,11 @@
+
+//Example No.6.18
+//Page No.194.
+clc;clear;
+r = 0.97*10^(-10);
+R = 1.81*10^(-10);
+Pd = ((%pi)/(3*sqrt(2)));
+printf("\nThe packing density is %.2f",Pd);
+//Ionic factor of NaCl//
+IPF = (4*(4/3)*%pi*(r^(3)+R^(3)))/((2*(r+R))^(3));//Ionic packing factor of NaCl crystal.
+printf("\nThe ionic packing factor of NaCl crystal is %.3f",IPF);