A transparent slab of thickness d has a refractive index n(z) that increases with z. Here z is the vertical distance inside the slab