Choose your investigation. The sim will lock your fixed variables so results stay valid. You can reset and switch at any time.
Variables that must stay fixed will be greyed out during the experiment
Diffraction gratings, the grating equation and measuring wavelength
Laser Safety: Never look directly into a laser beam or its reflections. Do not point the laser at other people. Place a beam stop behind the grating. The simulation uses a safe virtual laser — in the real experiment always follow your school's laser safety protocol and wear appropriate eye protection.
A diffraction grating has many equally spaced slits. When light passes through, each slit acts as a point source of secondary wavelets (Huygens' construction). Constructive interference occurs at angles where the path difference between adjacent slits equals a whole number of wavelengths:
n = order number (integer: 0, ±1, ±2, …)
λ = wavelength of light (m)
d = slit spacing = 1/N where N = number of lines per metre
θ = angle of diffraction from the straight-through (zeroth order)
Rearranging: sinθ = nλ/d. So a graph of sinθ (y-axis) against n (x-axis) gives a straight line through the origin with gradient λ/d. Since d is known from the grating specification: λ = gradient × d.
Gratings are specified by the number of lines per millimetre (lines/mm). The slit spacing d is:
Screen distance method: Place a screen at distance D from the grating. Measure the distance y from the central maximum to the nth order maximum. Then tanθ = y/D, so θ = arctan(y/D). For small angles, sinθ ≈ tanθ ≈ y/D.
Direct angle method: Use a protractor or optical bench to measure the angle θ directly. More precise — avoids the approximation error at larger angles.
Use direct angle method when θ > 20° — the small angle approximation breaks down significantly beyond this point.
Laser: Monochromatic (single wavelength), coherent, very bright. Produces sharp, bright maxima at precise angles. Ideal for measurement.
White light: Contains all visible wavelengths (~400–700 nm). Each wavelength diffracts at a different angle, producing a continuous spectrum in each order. Violet diffracts least (smallest θ), red diffracts most. The zeroth order (n = 0) is always white.
Select your measurement method — procedure updates to match.
Auto-filled from simulation. λ calculated from each reading using nλ = d sinθ.
Plot sinθ (y-axis) against n (x-axis). Gradient = λ/d → λ = gradient × d.
Select an investigation to see uncertainty estimates.
Write your answers and reveal model answers when ready.