summaryrefslogtreecommitdiff
path: root/3710/CH1/EX1.3/Ex1_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3710/CH1/EX1.3/Ex1_3.sce')
-rw-r--r--3710/CH1/EX1.3/Ex1_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3710/CH1/EX1.3/Ex1_3.sce b/3710/CH1/EX1.3/Ex1_3.sce
new file mode 100644
index 000000000..5b4f11fc9
--- /dev/null
+++ b/3710/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,16 @@
+//Example 1.3, Page Number 22
+
+clc;
+D=0.1 //Diameter of the Objective Lens
+d1=500 //Distance from the source
+l =550*(10**-9) //Wavelength
+p=1 //First Order
+N=40*600 //The diffraction grating is 40 mm wide and has 600 lines/mm
+
+Smin=(d1*l)/D //Smin is the minimum separation of the Sources
+Smin=Smin*(10**3)
+mprintf("\t(A)The Minimum Seperation Between the Sources is %.2f mm\n",Smin);
+
+dl=l/(N*p)//l/dl=p*N
+dl=dl*(10**9)
+mprintf("\t(B)The Minimum Wavelength Difference which may be resolved is %.3f nm",dl)