A substantiation of the averaging method for multifrequence system with an impulsive effect (Neliniini Kolyvannya, 2005)