The following data are arranged in order of increasing magni
The following data are arranged in order of increasing magnitude. Figure out the two
 missing values (represented by question marks) such that the mean for this data equals the median
 (for this problem assume that X can take only nonnegative values, i.e. X ³ 0, and none of the values
 can occur twice in the data).
 Data: {?, 1, 4, 5, 6, 9, ?}
Solution
median is the data in the middle because the dara are arranged in order of increasing magnitude
median = 5
mean = 5
mean = ( 0 + 1 + 4 + 5 +6 +9 + x) / 7
the first value will be 0 because the data are arranged in order of increasing magnitude and x can take only nonnegative values
5 = [25 + x ]/ 7
x= 10

