Observations

1. The charge of the ball is small and of equal sign as the charge of the ring

The repulsive electric field is not strong enough to repel the ball from the ring. The ball falls through the ring and dissapears.Observe plot of the force. Gravitational force is always equal (m*g) but up to the center of the ring the total force is reduced due to repulsive action of the ring.After that the repulsive force between the charges adds to the gravitational force and increases the velocity of the falling ball. At larger distances from the ring the electric force is reduced.

2. The charge of the ring is large and of equal sign as the charge of the ball.

The electrical force between the ring and the ball is strong and if it exceeds the gravitational force than the ball moves up and bounces from the top.This repeats forever in case no energy is lost in bouncing or in air (friction).

3. Oscilation of a charged ball through the ring

If the kinetic energy of the ball is not larger than the electric potential energy, the ball is trapped by the ring and the charged ball oscillates inside the ring.

First the attractive force pushes the oppositely charged ball upwards and shoots it through the ring. After that both gravitational and electrical force point towards bottom.The electrical force is pointing upwards when the ball is below the ring and downwards when it is above the ring.

The shape of the force plot is not completely sinusoidal.Try to find out why?

Electrical potential energy is negative since the charge of the ring is negative. Gravitational potential energy oscialates in a similar manner as the force - with the distance from the ring. On the other hand, the kinetic energy oscilates with a double frequency. It is zero at the top and bottom positions (velocity is zero) and maximal at the middle of the ring.

Interesting enough the plot below shows a little bit different time development of the force. It shows two maxima (and also possibly minima). These two maxima are observeed when the ball supeceeds the point of maximal electric field. At the bottom and at the top. The top maxima are obtained when the ball is near the lowest point.

Again another force/time plot is observed when one increases the mass of the particle. This increases the gravitational force but not the electrical one. See figure below.

3. Oscilation of a charged ball above the ring

In case we position the ring closer to the equally charged ring the kinetinc energy could be lower than the electrical potential energy. In such case a particle will oscillate above the ring.