summaryrefslogtreecommitdiff
path: root/1535/CH6/EX6.6/Ch06Ex6.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1535/CH6/EX6.6/Ch06Ex6.sci
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 '1535/CH6/EX6.6/Ch06Ex6.sci')
-rwxr-xr-x1535/CH6/EX6.6/Ch06Ex6.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/1535/CH6/EX6.6/Ch06Ex6.sci b/1535/CH6/EX6.6/Ch06Ex6.sci
new file mode 100755
index 000000000..ed7143694
--- /dev/null
+++ b/1535/CH6/EX6.6/Ch06Ex6.sci
@@ -0,0 +1,10 @@
+// Scilab Code Ex6.6 : Interplanar spacing in cubic crystal: Page-136 (2010)
+h = 2; k = 3; l = 1; // Miller Indices for planes in a cubic crystal
+r = 0.175e-009; // Atomic radius of fcc lattice, m
+a = 2*sqrt(2)*r; // Interatomic spacing of fcc lattice, m
+d = a/(h^2+k^2+l^2)^(1/2); // The interplanar spacing for cubic crystals, m
+printf("\nThe interplanar spacing between consecutive (231) planes = %4.2f ansgtrom", d/1e-010);
+
+// Result
+// The interplanar spacing between consecutive (231) planes = 1.32 ansgtrom
+