和差化积
sinθ+sinφ = 2 sin[(θ+φ)/2] cos[(θ-φ)/2]
sinθ-sinφ = 2 cos[(θ+φ)/2] sin[(θ-φ)/2]
cosθ+cosφ = 2 cos[(θ+φ)/2] cos[(θ-φ)/2]
cosθ-cosφ = -2 sin[(θ+φ)/2] sin[(θ-φ)/2]
tanA+tanB=sin(A+B)/cosAcosB=tan(A+B)(1-tanAtanB)
tanA-tanB=sin(A-B)/cosAcosB=tan(A-B)(1+tanAtanB)