series cos(3 x)