Three functions are defined as follows:

f: x ---> cos x for the domain 0 <= x <= 180

g: x ---> sin x for the domain 0 <= x <= 90

h: x ---> tan x for the domain p <= x <= q

1) find the range of f

Is the answer: It ranges from cos (0) = 1 to cos (180) = -0.9510565163

2) Given that the range of h is the same as the range of g. Find the value of p and q.

Is the answer: p = 0 as tan (0) = 0 and q = not sure??