I am trying to find a strictly mathematical (i.e., not manual graphing or plugging) method to solve for the absolute (global) maximum value of an irregular sinusoid.
Given a rational function $f(x)$, i.e., $$f(x) = \frac{8480128-33x}{100x+63}$$ and a sinusoid transformed by the above function, i.e., $$r(x) = \cos(\pi f(x)) \cos(\pi x)$$ I am trying to numerically solve for the absolute maximum of $r(x)$. Right now, I have plotted the function on Desmos and manually checked for an intersection with the line $y=1$. I am also aware that I can iterate $x = 0, 1, ...$ at the peaks of $r(x)$ and checking $r(x)=1$ but both of these methods are unsatisfactory for $f(x)$ with large coefficients.
Setting $\cos\left(\pi \frac{8480128-33x}{100x+63}\right) \cos(\pi x)=1$, I do not know how to proceed algebraically or with calculus. I am looking for a way to deterministically find whether or not this function $r(x)$ will ever reach $y=1$ without doing too much manual work.