is the time you take to go to the library a function of the distance to the library

Rate = distance/time