Obviously the earth is not really a sphere, the radius given here is an approximation such that spherical geometry calculations return close to accurate results

get_earth_radius()

Value

numeric, Earth's radius in nautical miles