expansion of cosx code example
Example: expansion of cosx
cos(x) = 1 - x^2/2! + x^4/4! - x^6/6! +…….
Trick: even powers since cos(x) is even function
cos(x) = 1 - x^2/2! + x^4/4! - x^6/6! +…….
Trick: even powers since cos(x) is even function