taylor series (z^2 + z cosz )