summaryrefslogtreecommitdiff
path: root/2594/CH1/EX1.13/Ex1_13.sce
blob: f981465c1590ef4a74928531290eaec492d977ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
x=1
disp("x intercept = "+string(x)) //initializing value of X intercept.
y=1
disp("y intercept = "+string(y)) //initializing value of Y intercept.
z=%inf
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