The Taylor polynomial of degree $n$ for a function $f(x)$ centered at $x=a$ is given by:
$$T_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k$$
In our case, $f(x) = \cos x$, $a = \pi$, and $n = 6$. We need to find the derivatives of $f(x)$ up to order 6 and
Show more…