diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1826/CH2/EX2.36/ex2_36.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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)
|