As titled, I want to prove (or disprove) $\log_{\cos(\frac{\pi}{n})} (\frac{1}{e})= \Theta(n^2)$. It seems to be true by plotting this function.
However, I do not know how to make use of the $\cos(\frac{\pi}{n})$ to show the function is indeed $O(n^2)$ and/or $\Omega(n^2)$.
By a change of base, $$\log_{\cos(\pi/n)}(1/e) = \frac{\ln(1/e)}{\ln\cos(\pi/n)} = - \frac{1}{\ln \cos (\pi/n)}.$$ Our goal is to show that there exist constants $0<a<b$ such that the following holds for all large $n$: $$an^2 \le - \frac{1}{\ln \cos(\pi/n)} \le bn^2.$$
The third-order Taylor polynomial of $f(x) = -\ln \cos x$ is $p_3(x) = \frac{x^2}{2}$, so for large $n$ we have $$\left|-\ln \cos(\pi/n) - \frac{\pi^2}{2n^2}\right| \le \frac{1}{n^3},$$ which yields $$\frac{\pi^2}{4n^2}\le \frac{\pi^2}{2n^2} - \frac{1}{n^3} \le -\ln \cos (\pi/n) \le \frac{\pi^2}{2n^2} + \frac{1}{n^3} \le \frac{\pi^2}{n^2}$$ for all sufficiently large $n$.