\(sinx+cosx=m\Leftrightarrow\left(sinx+cosx\right)^2=m^2\)
\(\Leftrightarrow1+2sinx.cosx=m^2\Rightarrow sinx.cosx=\dfrac{m^2-1}{2}\)
\(A=sin^2x+cos^2x=1\)
\(B=sin^3x+cos^3x=\left(sinx+cosx\right)^3-3sinx.cosx\left(sinx+cosx\right)\)
\(=m^3-\dfrac{3m\left(m^2-1\right)}{2}=\dfrac{2m^3-3m^3+3m}{2}=\dfrac{3m-m^3}{2}\)
\(C=\left(sin^2+cos^2x\right)^2-2\left(sinx.cosx\right)^2=1-2\left(\dfrac{m^2-1}{2}\right)^2\)
\(D=\left(sin^2x\right)^3+\left(cos^2x\right)^3=\left(sin^2x+cos^2x\right)^3-3\left(sin^2x+cos^2x\right)\left(sinx.cosx\right)^2\)
\(=1-3\left(\dfrac{m^2-1}{2}\right)^2\)