sin(3x)=sin(2x)*cos(x), 0<=x<=2pi