n =

P_{2n}(x)=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\frac{x^6}{6!}+... +(-1)^{n}\frac{x^{2n}}{(2n!} 

Polinomios de Taylor para

f(x)=cos(x)

n = 0 (slider from 0 to 50, step 1)
lista1 = Sequence(((-1)^(k) * x^((2 * k)) / ((2 * k))!), k, 0, n)
f = Sum(lista1)
g(x) = cos(x)
campoDeTexto1 = Textfield(n)
a = 0
A: (a, 0)
b = OrthogonalLine(A, xAxis)
B = Intersect(f, b)
C = Intersect(g, b, (0, 1))
c = Segment(C, B)
d = Segment(C, A)
texto4 = LaTeX(a, true, true)