summaryrefslogtreecommitdiff
path: root/3768/CH3/EX3.7/Ex3_7.sce
blob: ee6c8140496801f8f9a8e6672096d364134c54e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Example number 3.7, Page number 48

clc;clear;
close;

//Variable declaration
a=poly([0],'a')
b=poly([0],'b')
X=3;
Y=4;
Z=0;       //intercepts
//Calculation
x=a/X;
y=b/Y;
z=%inf ;      //miller indices
//Result
printf("miller indices are : \n")
disp (z,y,x)