summaryrefslogtreecommitdiff
path: root/1694/CH1/EX1.23/EX1_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '1694/CH1/EX1.23/EX1_23.sce')
-rw-r--r--1694/CH1/EX1.23/EX1_23.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1694/CH1/EX1.23/EX1_23.sce b/1694/CH1/EX1.23/EX1_23.sce
new file mode 100644
index 000000000..83f47fd0f
--- /dev/null
+++ b/1694/CH1/EX1.23/EX1_23.sce
@@ -0,0 +1,17 @@
+clear;
+clc;
+printf("\nEx1.23\n");
+//page no.-34
+//given
+d=0.282*10^-9;...........//lattice spacing in m
+theta=8.5833;.............//glancing angle
+n=1;......................//order
+//From Bragg's law
+
+lambda=(2*d*sind(theta))/n...........//wavelength in m
+
+//for max order of diffraction theta is 90 degree
+
+no=2*d*sind(90)/lambda.........//maximum order of diffraction
+
+printf("\nmax order of diffraction is 7 approx\n");