. "You now have that $\\ln(\\cos(x)) = P(x) + R(x)$ where P is a polynomial and R is the error such that $\\lim _{x\\rightarrow 0} \\frac{R(x)}{x^k} = 0$ and $k=deg(P)$." . . .