Answer:
Domain:
![[-2,1)](https://img.qammunity.org/2023/formulas/mathematics/college/jci3lip8aqx05115etd0ftw37157nth44l.png)
Range:
![[0,4]](https://img.qammunity.org/2023/formulas/mathematics/college/afkooaeste2uxft4ccu9ys5vfsctnf0ii6.png)
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
. 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
.