Ta có: \(C=5-8x-x^2\)
\(=-\left(x^2+8x-5\right)\)
\(=-\left(x^2+8x+16\right)+21\)
\(=-\left(x+4\right)^2+21\le21\forall x\)
Dấu '=' xảy ra khi x+4=0
hay x=-4
Vậy: \(C_{max}=21\) khi x=-4
Ta có \(C=21-\left(16+8x+x^2\right)=21-\left(x+4\right)^2\le21\forall x\) (do \(\left(x+4\right)^2\ge0\forall x\))
Dấu bằng xảy ra khi x = -4.
Vậy...