summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.2/ex13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH13/EX13.2/ex13_2.sce')
-rwxr-xr-x3020/CH13/EX13.2/ex13_2.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3020/CH13/EX13.2/ex13_2.sce b/3020/CH13/EX13.2/ex13_2.sce
new file mode 100755
index 000000000..2443f2d64
--- /dev/null
+++ b/3020/CH13/EX13.2/ex13_2.sce
@@ -0,0 +1,8 @@
+clc;
+clear all;
+h = 4; // Miller indices
+k = 3; // Miller indices
+l = 0; // Miller indices
+a = 2e-10; // In meters
+d = a/(sqrt(h^2+k^2+l^2));
+disp('m',d,'The interplanar spacing for the plane is ')