配方就行了
a^2+b^2-2a+6b+10
=a^2-2a+1+b^2+6b+9
=(a-1)^2+(b+3)^2=0
∵(a-1)^2>=0,(b+3)^2>=0
∴a-1=0,b+3=0
解得a=1,b=-3
a^2003-1/b
=1^2003-1/(-3)
=4/3
配方就行了
a^2+b^2-2a+6b+10
=a^2-2a+1+b^2+6b+9
=(a-1)^2+(b+3)^2=0
∵(a-1)^2>=0,(b+3)^2>=0
∴a-1=0,b+3=0
解得a=1,b=-3
a^2003-1/b
=1^2003-1/(-3)
=4/3