\(A=\frac{1}{2}\left(\frac{sin^2x}{cos^2x}-1\right)\frac{cosx}{sinx}+cos4x.cot2x+sin4x\)
\(A=\frac{-1}{2}\left(\frac{cos^2x-sin^2x}{cos^2x}\right)\frac{cosx}{sinx}+cos4x.cot2x+sin4x\)
\(A=\frac{-cos2x}{2cosx.sinx}+cos4x.cot2x+sin4x\)
\(A=-cot2x+cos4x.cot2x+sin4x\)
\(A=cot2x\left(cos4x-1\right)+sin4x\)
\(A=\frac{cos2x}{sin2x}.\left(1-2sin^22x-1\right)+sin4x\)
\(A=\frac{-2cos2x.sin^22x}{sin2x}+sin4x\)
\(A=-sin4x+sin4x=0\)