summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.33
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.33')
-rw-r--r--3537/CH5/EX5.33/Ex5_33.sce12
-rw-r--r--3537/CH5/EX5.33/Ex5_33.txt2
2 files changed, 14 insertions, 0 deletions
diff --git a/3537/CH5/EX5.33/Ex5_33.sce b/3537/CH5/EX5.33/Ex5_33.sce
new file mode 100644
index 000000000..abea72a1b
--- /dev/null
+++ b/3537/CH5/EX5.33/Ex5_33.sce
@@ -0,0 +1,12 @@
+//Example 5_33
+clc();
+clear;
+//To calculate the wavelength and maximum order of diffraction
+d=0.282*10^-9 //units in meters
+theta=8.583 //units in degrees
+lamda=2*d*(sin(theta*%pi/180))
+lamda1=lamda*10^10 //units in A
+theta=90 //units in degrees
+n=(2*(d)*sin(theta*%pi/180))/lamda
+printf("wave length lamda=%.3fA",lamda1)
+printf("\nMaximum order of diffraction n=%d",round(n))
diff --git a/3537/CH5/EX5.33/Ex5_33.txt b/3537/CH5/EX5.33/Ex5_33.txt
new file mode 100644
index 000000000..bfb3bec61
--- /dev/null
+++ b/3537/CH5/EX5.33/Ex5_33.txt
@@ -0,0 +1,2 @@
+wave length lamda=0.842A
+Maximum order of diffraction n=7 \ No newline at end of file