diff options
Diffstat (limited to '3537/CH5/EX5.22/Ex5_22.sce')
-rw-r--r-- | 3537/CH5/EX5.22/Ex5_22.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH5/EX5.22/Ex5_22.sce b/3537/CH5/EX5.22/Ex5_22.sce new file mode 100644 index 000000000..96b4729e6 --- /dev/null +++ b/3537/CH5/EX5.22/Ex5_22.sce @@ -0,0 +1,12 @@ +//Example 5_22
+clc();
+clear;
+//To calculate the interplanar spacing distance
+h=1
+k=2
+l=3
+a=0.82 //units in nm
+b=0.94 //units in nm
+c=0.75 //units in nm
+d=((h/a)^2+(k/b)^2+(l/c)^2)^-0.5 //units in nm
+printf("Interplanar spacing d=%.3f nm",d)
|