How does the range of a function relate to its y-values?