summaryrefslogtreecommitdiff
path: root/3869/CH6/EX6.26/Ex6_26.sce
blob: 29ec85c6ff91cc6508658cf625f525683c43b954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clear
//
//
//

//Variable declaration
h=2
k=3
l=1              //miller indices
a=0.121          
b=0.184
c=0.197          //parameters(nm)

//Calculation
OB=2*b/3       //intercept along y axis(nm)
OC=2*c         //intercept along z axis(nm) 

//Result
printf("\n intercept along y axis is %0.3f  nm",OB)
printf("\n intercept along y axis is %0.3f  nm",OC)