The function is given as:
$$f(x)=(\sqrt{1-2x+x^3}-\sqrt[3]{1-3x+x^2})\cos\pi x$$
And the problem states:
a) Find the McLaurin expansion up to order of $x^3$
b) Find the Taylor expansion when $x\to2$ up to order of $x^2$.
My question is:
Is there a smarter (more efficient) way to calculate this other then just applying the formula. I'm asking because finding the first three derivatives of the function is pretty complicated so it makes me think that there must be a way to simplify this problem.
Any ideas?
Thanks
Hint:
You can make algebraic operations with Taylor's expansions. All you have to do is to truncate the powers of $x$ which are beyond the given order. For instance, at order $3$: