>>850
sin^2(x)=(1-cos(2x))/2
cos^2(x)=(1+cos(2x))/2
sin(x)cos(x)=sin(2x)/2