<s>[INST] Quick Method to Calculate the Maclaurin Series of $\frac{1}{\sqrt{\cos{x}}} $ I am supposed to calculate the maclaurin series for $\frac{1}{\sqrt{\cos{x}}} $ but I can't seem to figure out an efficient way to go about doing this. 
 [/INST] Hint. You may use, as $x \to 0$,
$$
\cos x =1-\frac{x^2}{2!}+\frac{x^4}{4!}+O(x^6) \tag1
$$ and, as $u \to 0$,
$$
\frac 1{\sqrt{1-u}} =1+\frac{u}{2}+\frac{3}{8}u^2+O(u^3) \tag2
$$ giving $$
\begin{align}
\frac 1{\sqrt{\cos x}}&=\frac 1{\sqrt{1-\frac{x^2}{2!}+\frac{x^4}{4!}+O(x^6)}}\\\\
&=1+\frac12\left(\frac{x^2}{2!}-\frac{x^4}{4!}+O(x^6) \right)+\frac{3}{8}\left(\frac{x^2}{2!}-\frac{x^4}{4!}\right)^2+O(x^6)\\\\
&=1+\frac{x^2}{4}+\frac{7 x^4}{96}+O(x^6)
\end{align}
$$ $(1)$ and $(2)$ have been obtained by Taylor expansions near $0$.
</s>