Gaussian beam calculator

optics
Rayleigh range, divergence and beam radius w(z) from waist and wavelength.

For a Gaussian beam of waist \(w_0\) and wavelength \(\lambda\), the Rayleigh range is \(z_R = \dfrac{\pi w_0^2}{\lambda}\) and the radius grows as \(w(z) = w_0\sqrt{1 + (z/z_R)^2}\).