sin(A+B)=sinAcosB+cosAsinB
sin(A-B)=sinAcosB-cossinB
cos(A+B)=cosAcosB-sinAsinB
cos(A-B)=cosAcosB+sinAsinB
tan(A+B)=(tanA+tanB)/(1-tanAtanB)
tan(A-B)=(tanA-tanB)/(1+tanAtanB)
sinAsinB=-[cos(A+B)-cos(A-B)]/2
cosAcosB=[cos(A+B)+cos(A-B)]/2
sinAcosB=[sin(A+B)+sin(A-B)]/2
cosAsinB=[sin(A+B)-sin(A-B)]/2