Calculation of gravitational force above the Earth