Mass of a particle depends on the relativistic speed v with which it moves as .
The gravitational force of attraction of Earth is given by
Note: This is the only reason responsible for gravitational lengthening in which a photon travelling at a speed c experiences gravitational force.