Lesson 9 of 15

Diffraction

Diffraction

Diffraction is the bending and spreading of waves around obstacles or through openings. When the opening size is comparable to the wavelength, the effect becomes dramatic.

Single-Slit Diffraction

For a slit of width aa illuminated by monochromatic light of wavelength λ\lambda, dark fringes (minima) appear at angles satisfying:

asin⁡θ=mλm=±1,±2,…a \sin\theta = m\lambda \quad m = \pm 1, \pm 2, \ldots

The first minimum (smallest angle) occurs at:

sin⁡θ=λa\sin\theta = \frac{\lambda}{a}

θ=arcsin⁡ ⁣(λa)\theta = \arcsin\!\left(\frac{\lambda}{a}\right)

The central bright maximum has width 2θ2\theta — it is twice as wide as the other maxima.

Example: λ=500 nm\lambda = 500\,\text{nm}, a=100 μma = 100\,\mu\text{m}:

θ=arcsin⁡ ⁣(500×10−9100×10−6)=arcsin⁡(0.005)≈0.287°\theta = \arcsin\!\left(\frac{500 \times 10^{-9}}{100 \times 10^{-6}}\right) = \arcsin(0.005) \approx 0.287°

Diffraction Grating

A diffraction grating has thousands of slits per millimeter. For grating spacing dd (distance between adjacent slits), bright maxima occur at:

dsin⁡θ=mλm=0,±1,±2,…d \sin\theta = m\lambda \quad m = 0, \pm 1, \pm 2, \ldots

Solving for the angle of the mm-th order maximum:

θ=arcsin⁡ ⁣(mλd)\theta = \arcsin\!\left(\frac{m\lambda}{d}\right)

Diffraction gratings are used in spectrometers to separate light into its component wavelengths with high precision.

Example: λ=550 nm\lambda = 550\,\text{nm}, d=2 μmd = 2\,\mu\text{m} (500 lines/mm), m=1m = 1:

θ=arcsin⁡ ⁣(550×10−92×10−6)=arcsin⁡(0.275)≈15.96°\theta = \arcsin\!\left(\frac{550 \times 10^{-9}}{2 \times 10^{-6}}\right) = \arcsin(0.275) \approx 15.96°

Your Task

Implement the two angle formulas. Use math.asin and math.degrees. Wavelengths are in nm; slit widths/spacings are in micrometers (μ\mum).

Python runtime loading...
Loading...
Click "Run" to execute your code.