summaryrefslogtreecommitdiff
path: root/2594/CH1/EX1.15
diff options
context:
space:
mode:
Diffstat (limited to '2594/CH1/EX1.15')
-rwxr-xr-x2594/CH1/EX1.15/Ex1_15.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2594/CH1/EX1.15/Ex1_15.sce b/2594/CH1/EX1.15/Ex1_15.sce
new file mode 100755
index 000000000..a8bbb8a24
--- /dev/null
+++ b/2594/CH1/EX1.15/Ex1_15.sce
@@ -0,0 +1,17 @@
+clc
+x=2
+disp("x intercept = "+string(x)) //initializing value of X intercept.
+y=2
+disp("y intercept = "+string(y)) //initializing value of Y intercept.
+z=2
+disp("z intercept = "+string(z)) //initializing value of Z intercept.
+c=2
+disp("common factor of all the intercept= "+string(c)) //initializing value of common factor of all the intercepts.
+h=[c/x]
+disp("miller indices,h=[c/x] = "+string(h))//calculation
+k=[c/y]
+disp("k=[c/y] = "+string(k))//calculation
+l=[c/z]
+disp("l=[c/z] = "+string(l))//calculation
+
+