A study of the resonance effects due to the Earth's potential function