∵|a-2|+(b+1)²=0
∴a-2=0,b+1=0
∴a=2,b=-1
5ab²-[2a²b-(4ab²-2a²b)]
=5ab²-(2a²b-4ab²+2a²b)
=5ab²-(4a²b-4ab²)
=5ab²-4a²b+4ab²
=9ab²-4a²b
=9×2×(-1)²-4×2²×(-1)
=18+16
=34
∵|a-2|+(b+1)²=0
∴a-2=0,b+1=0
∴a=2,b=-1
5ab²-[2a²b-(4ab²-2a²b)]
=5ab²-(2a²b-4ab²+2a²b)
=5ab²-(4a²b-4ab²)
=5ab²-4a²b+4ab²
=9ab²-4a²b
=9×2×(-1)²-4×2²×(-1)
=18+16
=34