summaryrefslogtreecommitdiff
path: root/1397/CH6/EX6.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1397/CH6/EX6.14
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1397/CH6/EX6.14')
-rwxr-xr-x1397/CH6/EX6.14/6_14.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1397/CH6/EX6.14/6_14.sce b/1397/CH6/EX6.14/6_14.sce
new file mode 100755
index 000000000..05a9c0141
--- /dev/null
+++ b/1397/CH6/EX6.14/6_14.sce
@@ -0,0 +1,16 @@
+//clc();
+clear;
+//To calculate the inter planar spacing of reflection planes
+KE=3.76*10^-17; //kinetic energy of electron in J
+n=1;
+//theta=9.12'.25"
+theta=9.20694; //by converting to degrees
+h=6.625*10^-34;
+m=9.1*10^-31;
+a=sqrt(2*m*KE);
+lambda=h/a;
+lambda=lambda*10^10; //converting from metres to angstrom
+disp(lambda);
+d=(n*lambda)/(2*sind(theta));
+printf("inter planar spacing in Angstrom is");
+disp(d);