summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.3/Ex5_3.sce')
-rw-r--r--3537/CH5/EX5.3/Ex5_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3537/CH5/EX5.3/Ex5_3.sce b/3537/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..57eba4193
--- /dev/null
+++ b/3537/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,11 @@
+//Example 5_3
+clc();
+clear;
+//To determine the interplanar spacing
+a=450 //units in nm
+h=2
+k=2
+l=0
+d220=a/sqrt(h^2+k^2+l^2) //units in nm
+printf("Inter planar spacing d220=%.1f nm",d220)
+//in text book the answer is printed wrong as 15.1 nm The answer is 159 nm