To solve this problem we will apply the concept related to the balance of forces. Here the electrostatic force defined by Coulomb's laws must be proportional to the weight of the electron, defined by Newton's second law, so that such balance exists, both can be described as:
Here,
Charge required
Charge of electron
d = Distance
k = Coulomb's constant
= mg
Here,
m = mass
g = Gravitational acceleration
In equilibrium the sum of Force is zero, then,
Therefore the charge required for this to happen is