│a-2│+b²+2b+1=0
│a-2│+(b+1)^2=0
│a-2│与(b+1)^2都≥0
所以,a-2=0 a=2
b+1=0 b=-1
a²+ab/(a+b)
=a(a+b)/(a+b)
=a
=2