Calculation of effective control of nonlinear dynamic systems