This is a very basic question .
Actually in Taylor series expansion of say "sin x" we write the expansion ... (as it is,I am not writing it)
But when we are asked to write the expansion of sin(x^2) we just replace 'x' by "x^2" in the expansion of sin x.
Or if asked some other function such as...