单选题 如果不等式 (a>0)的解集是{x|m≤x≤n}且|m-n|=2a,则a的值为______。
A.1
B.
【正确答案】 B
【答案解析】[解析] 若x<0,则解集为无穷,不满足题意;所以x≥0,不等式两边平方可得x 2 -x-a≤0,由此知m+n=1,mn=-a,则 ,解得