series sin(x) cos(3 x)