Ta có:
\(\left(x-1\right)^2+\left(y+2\right)^2=0\)
Do: \(\left\{{}\begin{matrix}\left(x-1\right)^2\ge0\\\left(y+2\right)^2\ge0\end{matrix}\right.\)
\(\Rightarrow\left(x-1\right)^2+\left(y+2\right)^2\ge0\)
Mặt khác: \(\left(x-1\right)^2+\left(y+2\right)^2=0\)
\(\Rightarrow\left\{{}\begin{matrix}x=1\\y=-2\end{matrix}\right.\)
Thay vào B ta có:
\(B=2\cdot1^5-5\cdot\left(-2\right)^3+4=2\cdot1-5\cdot-8+4=2+40+4=46\)