Text this: Studying the conditions of emulsions formation with the use of the theory of formal analogy of processes