summaryrefslogtreecommitdiff
path: root/3665/CH2/EX2.6/Ex2_6.sce
blob: fb23b75dc81c99248076578f732cf05639a5d72a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clc//
//
//

//Variable declaration
a=1;
b=1/2;
c=3;

//Calculation
A=1/a;
B=1/b;
C=1/c;
h=A*c;
k=B*c;
l=C*c;      //miller indices of plane

//Result
printf("\n miller indices of plane is ( %0.3f %0.3f %0.3f)",h,k,l)