diff options
Diffstat (limited to '1736/CH1/EX1.15/Ch01Ex15.sce')
-rwxr-xr-x | 1736/CH1/EX1.15/Ch01Ex15.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1736/CH1/EX1.15/Ch01Ex15.sce b/1736/CH1/EX1.15/Ch01Ex15.sce new file mode 100755 index 000000000..645998e94 --- /dev/null +++ b/1736/CH1/EX1.15/Ch01Ex15.sce @@ -0,0 +1,15 @@ +// Scilab Code Ex 1.15 :Page-27 (2006)
+clc; clear;
+R = 1; // For simplicity we assume radius of atom to be unity, m
+// From the right triangle LMO, LM/LO = R/(R + r) = cosd(30), solving for r
+r = poly(0, 'r');
+r = roots(R/cosd(30)-R-r);
+printf("\nThe radius of triangular void = %5.3fR", r);
+
+// Result
+// The radius of triangular void = 0.155R
+
+
+
+
+
|