Application of resonance functions in estimating the parameters of interwell zones