diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1736/CH1/EX1.17 | |
download | Scilab-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-x | 1736/CH1/EX1.17/Ch01Ex17.sce | 15 |
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
+
+
+
+
+
|