summaryrefslogtreecommitdiff
path: root/1694/CH1/EX1.25/EX1_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '1694/CH1/EX1.25/EX1_25.sce')
-rw-r--r--1694/CH1/EX1.25/EX1_25.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1694/CH1/EX1.25/EX1_25.sce b/1694/CH1/EX1.25/EX1_25.sce
new file mode 100644
index 000000000..84f9f311a
--- /dev/null
+++ b/1694/CH1/EX1.25/EX1_25.sce
@@ -0,0 +1,18 @@
+clear;
+clc;
+printf("\nEx1.25\n");
+//page no.-35
+//given
+lambda=0.071*10^-9;.........//wavelength in m
+h=1;
+k=1;
+l=0;
+a=0.28*10^-9;........//lattice constant in m
+n=2;.................//order
+
+d=a/sqrt(h^2+k^2+l^2);..........//interplanar spacingin m
+//by bragg's law
+
+theta=asind((n*lambda)/(2*d)).......//angle in degrees
+
+printf("\nangle is 21.01 degrees\n");