Determination of refractive index of heterogeneous substances for X