summaryrefslogtreecommitdiff
path: root/3411/CH5/EX5.4.u1
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH5/EX5.4.u1')
-rw-r--r--3411/CH5/EX5.4.u1/Ex5_4_u1.sce13
-rw-r--r--3411/CH5/EX5.4.u1/Ex5_4_u1.txt1
2 files changed, 14 insertions, 0 deletions
diff --git a/3411/CH5/EX5.4.u1/Ex5_4_u1.sce b/3411/CH5/EX5.4.u1/Ex5_4_u1.sce
new file mode 100644
index 000000000..687c6ecaf
--- /dev/null
+++ b/3411/CH5/EX5.4.u1/Ex5_4_u1.sce
@@ -0,0 +1,13 @@
+//Example 5_4_u1
+clc();
+clear;
+//To calculate the inter planar distance
+a=0.82 //units in nm
+b=0.94 //units in nm
+c=0.75 //units in nm
+h=1
+k=2
+l=3
+d=1/sqrt((((h/a)^2)+((k/b)^2)+((l/c)^2))) //units in nm
+printf("The Distance between (1,2,3) planes and (2,4,6) planes is d123=%.2fnm and d246=%.2fnm",d,d/2)
+//In textbook the answer is printed wrong as d123=0.11nm and d246=0.055nm but the correct answers are d123=0.21nm and d246=0.11nm
diff --git a/3411/CH5/EX5.4.u1/Ex5_4_u1.txt b/3411/CH5/EX5.4.u1/Ex5_4_u1.txt
new file mode 100644
index 000000000..c9330488d
--- /dev/null
+++ b/3411/CH5/EX5.4.u1/Ex5_4_u1.txt
@@ -0,0 +1 @@
+The Distance between (1,2,3) planes and (2,4,6) planes is d123=0.21nm and d246=0.11nm \ No newline at end of file