Factors determining the force of gravity