Expand the function f (x) = cosx into a power series of X. thank you

Expand the function f (x) = cosx into a power series of X. thank you

cosx=1-x^2/2!+x^4/4!-… +〖(-1)〗^n/(2n)!x^2n+…