Approximation of solutions to the optimal control problems for systems with maximum (Neliniini Kolyvannya, 2018)