Impact Models of Gravitational and Electrostatic Forces