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
sinA+sinB=2sin[(A+B)/2]cos[(A-B)/2]
sinA-sinB=2cos[(A+B)/2]sin[(A-B)/2]
cosA+cosB=2cos[(A+B)/2]cos[(A-B)/2]
cosA-cosB=-2sin[(A+B)/2]sin[(A-B)/2]
tanA+tanB=sin(A+B)/cosAcosB=tan(A+B)(1-tanAtanB)
tanA-tanB=sin(A-B)/cosAcosB=tan(A-B)(1+tanAtanB)