I'm trying to find the limit value of this for large values of $x$, in terms of a closed form formula. However when I try to plot this using different representations I get different curves.
For $\cos(x)\cosh(x)-1$:

For $\cosh(x)-1/\cos(x)$:

For $\cos(x)-1/\cosh(x)$:

The answer was that the $\cos(x)-1/\cosh(x) $ gives the correct picture, and that $x=(n+1/2)\pi$ is the correct approximation. Why do I get these different graphs?
All functions are good, except that the second one creates problems for the drawing tool, because it has many asymptotes and they're in the proximity of the zeros.
As you see from the picture below, both graphs give the same zeros.
The curve $\cos x-\dfrac{1}{\cosh x}$ is best, because the function is bounded.