結果 : find domain and range of a function using interval notation