summaryrefslogtreecommitdiff
path: root/1736/CH1/EX1.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1736/CH1/EX1.17
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 '1736/CH1/EX1.17')
-rwxr-xr-x1736/CH1/EX1.17/Ch01Ex17.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1736/CH1/EX1.17/Ch01Ex17.sce b/1736/CH1/EX1.17/Ch01Ex17.sce
new file mode 100755
index 000000000..44451586c
--- /dev/null
+++ b/1736/CH1/EX1.17/Ch01Ex17.sce
@@ -0,0 +1,15 @@
+// Scilab Code Ex 1.17 :Page-28 (2006)
+clc; clear;
+R = 1; // For simplicity we assume radius of atom to be unity, m
+// From the isosceles right triangle LMN, LM/LO = (R + r)/R = sqrt(2)/1, solving for r
+r = poly(0, 'r');
+r = roots(R*sqrt(2)-R-r);
+printf("\nThe radius ratio of octahedral void = %5.3f", r/R);
+
+// Result
+// The radius ratio of octahedral void = 0.414
+
+
+
+
+