Here the positive sign before the square root must be altered to a negative sign in some cases in order to get the correct imaginary part of effective complex permittivity which is related with electromagnetic wave attenuation. The formula is symmetric with respect to swapping the 'd' and 'm' roles. This formula is based on the equality