As given by the question
There are given that function

Now,
First find the domain of the given function.
Then,
The domain of the function, where the given function is defined.
So,
The domain is:

And,
The range of the function is defined for the set of values that correspond with the domain.
So,
The range of the given function is
