问题 选择题
关于x的方程组
3x-y=m
x+my=n
的解是
x=1
y=1
,则
m2-n
的值是(  )
A.5B.3C.2D.1
答案

将x=1,y=1代入方程组得:

3-1=m
1+m=n

解得:m=2,n=3,

m2-n
=1.

故选D

单项选择题
单项选择题