summaryrefslogtreecommitdiff
path: root/3411/CH5/EX5.3.u1/Ex5_3_u1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH5/EX5.3.u1/Ex5_3_u1.sce')
-rw-r--r--3411/CH5/EX5.3.u1/Ex5_3_u1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3411/CH5/EX5.3.u1/Ex5_3_u1.sce b/3411/CH5/EX5.3.u1/Ex5_3_u1.sce
new file mode 100644
index 000000000..13d3d0f20
--- /dev/null
+++ b/3411/CH5/EX5.3.u1/Ex5_3_u1.sce
@@ -0,0 +1,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)