# GRIN slab

Contributor: Stas Fainer

This is a simulation of a dielectric material with a refractive index $$n(\rho) = n_0 \sqrt{1-(\alpha \rho)^2}$$, where $$n_0$$ is the refractive index on its central axis and $$\rho$$ is the radial distance from its central axis, such that $$\alpha=\frac{\sqrt{3}}{2R}$$ where $$R=100$$ is its radius. Note that the dielectric in this simulation is made of thin dielectric rectangles of constant refractive index, according to the previous equation for $$n(\rho)$$.