summaryrefslogtreecommitdiff
path: root/3411/CH5/EX5.3/Ex5_3.sce
blob: 110d7a526c1e5e1deaa4a78d4fd7f043a48c6484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 5_3
clc();
clear;
//To find the intercepts along the Y and Z axes
a=0.121          //units in nm
b=0.184          //units in nm
c=0.197          //units in nm
//Given miller indices are (2,3,1)
OA_OB=3/2
OA_OC=1/2
OB=(2/3)*b //units in nm
OC=2*c     //units in nm
printf("The Intercepts along the Y and Z axes are OB=%.3fnm and OC=%.3fnm",OB,OC)