I have the following snippet
\begin{tikzpicture}
\draw[black, domain=0:10] plot({\x}, {cos(((9 - \x)/8)*3.141592)});
\end{tikzpicture}
When I compile the file, however, the plot just produces a straight line. I think this means that it's not sampling points correctly, but I'm not sure how to fix this.
Any insight would be appreciated.