Finding the Domain of a Function