summaryrefslogtreecommitdiff
path: root/3411/CH5/EX5.3.u1/Ex5_3_u1.sce
blob: 13d3d0f2079d8dd0be4811adc61102fe8501f5ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 5_3_u1
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)