cos(2θ+2π/3)=2*cos^2(θ+π/3)-1