series 2*y*(cos(x))^2 at x=pi and y=1 to order 4