diff options
Diffstat (limited to '1826/CH2/EX2.36/ex2_36.sce')
-rwxr-xr-x | 1826/CH2/EX2.36/ex2_36.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1826/CH2/EX2.36/ex2_36.sce b/1826/CH2/EX2.36/ex2_36.sce new file mode 100755 index 000000000..e67b5da86 --- /dev/null +++ b/1826/CH2/EX2.36/ex2_36.sce @@ -0,0 +1,11 @@ +// Example 2.36, page no-52
+clear
+clc
+// Intercepts are in the ratio 3a:4b along X,Y and parallel to Z axis
+//x intercept 3,y intercept 4 and z intercept infinity
+a=2*10^-10// 2 Angstrom
+h=4
+k=3
+l=0
+d=a/sqrt(h^2+k^2+l^2)
+printf("The lattice spacing for the plane 430 is %.1f*10^-10 m",d*10^10)
|