You could also do it by looking at the power series of cosx and sinx, and then multiply the sine power series by i and then add the power series of cos on to it, so you get [itex]cosx + isinx[/itex]. Either way will get you the same answer, and the first method would probably be a little quicker.