Oscillations of a Punctual Charge in the Electric Field of a Charged Ring: A Comparative Study