A mixed numerical-analytical approach to the calculation of non-linear electric properties