blob: 5b4f11fc9a8818374f1b417d2a2b4567e6a57237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)
|