Influence of production function parameters on the solution and value function in optimal control problem