若m,n为有理数,且|m-2|与(n+3)^2互为相反数,则n^m=_____.
问题描述:
若m,n为有理数,且|m-2|与(n+3)^2互为相反数,则n^m=_____.
答
|m-2|与(n+3)^2=0
∵|m-2|≥0
(n+3)^2≥0
∴|m-2|=0 m-2=0 m=2
(n+3)^2=0 n+3=0 n=-3
n^m=(-3)^2=9