\(y=-x^2+40x+600\)
\(=-\left(x^2-40x+400\right)+1000\)
\(-\left(x-20\right)^2+1000\le1000\)
\(y_{max}=1000\Leftrightarrow x=20\)
\(y=-x^2+40x+600\)
\(=-\left(x^2-40x-600\right)\)
\(=-\left(x^2-40x+400-1000\right)\)
\(=-\left(x-20\right)^2+1000\ge1000\forall x\)
Dấu '=' xảy ra khi x=20