summaryrefslogtreecommitdiff
path: root/3869/CH6/EX6.26/Ex6_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH6/EX6.26/Ex6_26.sce')
-rw-r--r--3869/CH6/EX6.26/Ex6_26.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3869/CH6/EX6.26/Ex6_26.sce b/3869/CH6/EX6.26/Ex6_26.sce
new file mode 100644
index 000000000..29ec85c6f
--- /dev/null
+++ b/3869/CH6/EX6.26/Ex6_26.sce
@@ -0,0 +1,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)