A ray enters a glass slab at the origin at an angle of incidence θ from air where refractive index varies along the slab as μ = μ0 - ky2, where y is the distance mesured along the normal and μ0 and k are positive constants. If the glass slab is sufficiently thick, the maximum value of y coordinate of the refracted ray is