Đặt \(A=\left(2x-3\right)^2-\left(x-3\right)^3+\left(4x+1\right)\left(16x^2-4x+1\right)\)
\(=4x^2-12x+9-\left(x^3-9x^2+27x-27\right)+64x^3+1\)
\(=64x^3+4x^2-12x+10-x^3+9x^2-27x+27\)
\(=63x^3+13x^2-39x+37\)
Thay x=-2 vào A, ta được:
\(A=63\cdot\left(-2\right)^3+13\cdot\left(-2\right)^2-39\cdot\left(-2\right)+37\)
\(=-63\cdot8+13\cdot4+39\cdot2+37\)
=-504+52+78+37
=-337