summaryrefslogtreecommitdiff
path: root/1736/CH1/EX1.17/Ch01Ex17.sce
diff options
context:
space:
mode:
Diffstat (limited to '1736/CH1/EX1.17/Ch01Ex17.sce')
-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
+
+
+
+
+