Averaging of an optimal control problem on time scales (Neliniini Kolyvannya, 2014)