Variation of gravitational force with distance