The domain (x values) of both functions is -infinity to +infinity.
The range (y values) of the first function is from -1 to 3 since cosine ranges from -1 to 1.
Similarly, the range of the second function is from -3 to 3 since sine also ranges from -1 to 1.