Is the time you take to go to the library a function of the distance to the library?

I think it's not a function