Step-by-step explanation:
The electric field is given by :
Where
k is electrostatic constant,
Q is the magnitude of charge
r is the distance from the charge
The gravitational field equation is given by :
G is universal gravitational constant
M is the mass
r is the distance