I have been stuck at this question: I have $$f(x)=\cos(\pi \cdot x)$$$$g(x)=\frac{7\cdot x}{6}$$ and $$h(x)=f(g(x))$$
and i am asked to compute the range for $h(x)$.
My solution: $$h(x)=\cos(\pi \cdot \frac{7x}{6})$$ so the highest value the function can output is $1$ and the lowest is $-1$. My instructor says it's not the right answer. How do i go about finding the range of this function? Thank you in advance.
EDIT
$f:\mathbb{Q}\to\mathbb R$
$g:\mathbb{Z}\to\mathbb{Q}$