How do you find the domain and range of a function without graphing?