domain and range of a function pdf