Answer:
Domain: [tex][-2,1)[/tex]
Range: [tex][0,4][/tex]
Step-by-step explanation:
Domain
We can see that the piecewise function starts at x=-2, which is included, and ends at x=1, which isn't included. To represent the x-values that lie in between these two endpoints, you would write [tex][-2,1)[/tex]. Brackets show that one endpoint is included while parentheses show that one endpoint isn't included.
Range
Following this logic, the range has its y-values go from 0 to 4 with both endpoints included if you were to trace the function. Thus, your range would be [tex][0,4][/tex].