Conditions for existence of an optimal control for some classes of differential equations on time scales (Neliniini Kolyvannya, 2016)