The use of the equivalence between boxing and scaling to determine resonance energies