A set S = {x, -8, -5, -4, 4, 6, 9, y} with elements arranged in increasing order. If the median and the mean of the set are the same, what is the value of |x|-|y|?
(A) -1
(B) 0
(C) 1
(D) 2
(E) Cannot be determined.
Median of the set = (-4+4)/2 = 0
As per statement, Mean of the set = 0
Mean of the set
|y|- |x| +19-17 = 0 (where x is negative n y is positive)
|y|- |x| = -2
So the absolute difference between two numbers is 2
Answer D
(A) -1
(B) 0
(C) 1
(D) 2
(E) Cannot be determined.
Median of the set = (-4+4)/2 = 0
As per statement, Mean of the set = 0
Mean of the set
|y|- |x| +19-17 = 0 (where x is negative n y is positive)
|y|- |x| = -2
So the absolute difference between two numbers is 2
Answer D