what is the relationship between refractive index and gradient for water and glycerin?

what is the relationship between refractive index and gradient for water and glycerin?