Margules's equation