Shipping costs for Rational Approximation of Real Functions