According to the Newton's law of universal gravitation, the force between two bodies is given by :
..........(1)
are masses
d is the distance between objects
From equation (1), the force of gravity increases when distance decreases or mass increases and the force of gravity decreases when mass decreases or distance increases.
the electric force increases because the amount of charge has a direct relationship to the force. the electric force decreases because the amount of charge has an indirect relationship to the force. the electric force decreases because the amount of charge has a direct relationship to the force