I have two functions, $f:\mathbb{Q}\to\mathbb R_+$ given by $f(x) = \frac{1}{5} \sin{\left (\pi x \right )} + 4 $, and $g:\mathbb{Z_+}\to\mathbb{Q}$ given by $g(x) = - \frac{7 x}{2}$. I needed to find the composite function $h(x)=f(g(x))$
and I got the following result: $\frac{1}{5}\sin \left(-\frac{7\pi x}{2}\right)+4$
I know that the function above is not injective since h[1] = h[5] but why isn't this function surjective?