利用和差化积公式得
cosx-cosy=-2sin(x+y)/2*sin(x-y)/2
=-2sin(x+y)/2*(1/2)
=-sin(x+y)/2
所以cos(x+y)=1-2[sin(x+y)/2]^2
=1-2*(-1/3)^2=7/9