$$\color{Cyan} f(x)=\frac{1}{\cos^{2}\left(x\right)+4\cos\left(x\right)-2} $$