\(A=\frac{2cos^2a-\left(sin^2a+cos^2a\right)}{sina+cosa}=\frac{cos^2a-sin^2a}{sina+cosa}=\frac{\left(cosa-sina\right)\left(cosa+sina\right)}{sina+cosa}=cosa-sina\)
\(P=tan1.tan89.tan2.tan88...tan44.tan46.tan45\)
\(=tan1.cot1.tan2.cot2...tan44.cot44.tan45\) (công thức \(tanx=cot\left(90^0-x\right)\))
\(=1.1.1....1=1\)