summaryrefslogtreecommitdiff
path: root/2411/CH7/EX7.10/Ex7_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2411/CH7/EX7.10/Ex7_10.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 '2411/CH7/EX7.10/Ex7_10.sce')
-rwxr-xr-x2411/CH7/EX7.10/Ex7_10.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2411/CH7/EX7.10/Ex7_10.sce b/2411/CH7/EX7.10/Ex7_10.sce
new file mode 100755
index 000000000..28050e480
--- /dev/null
+++ b/2411/CH7/EX7.10/Ex7_10.sce
@@ -0,0 +1,9 @@
+// Scilab Code Ex7.10: Page-380 (2008)
+clc; clear;
+h = 3; k = 2; l = 1; // Miller Indices for planes in a cubic crystal
+a = 4.21D-10; // Interatomic spacing, m
+d = a/(h^2+k^2+l^2)^(1/2); // The interplanar spacing for cubic crystals, m
+printf("\nThe interplanar spacing between consecutive (321) planes = %3.1e m", d);
+
+// Result
+// The interplanar spacing between consecutive (321) planes = 1.1e-010 m \ No newline at end of file