根据维达定理,有
tana + tanb = 4P
tana × tanb = -3
因此
tan(a+b) = (tana + tanb) / (1 - tanatanb)
= 4P / (1 + 3) = P
希望有用.