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