Given 10 observations with mean = 9 and variance = 34.2.
Eight known values: 2, 3, 5, 10, 11, 13, 15, 21.
Sum of all 10: ∑xi=90.
Sum of 8 known: 80. So the two unknowns sum to 10.
From variance: ∑xi2=10(34.2+81)=1152.
Sum of squares of 8 known: 1094. So unknown squares sum to 58.
With x9+x10=10 and x92+x102=58: we get x9x10=21, giving roots t2−10t+21=0, so the unknowns are 3 and 7.
All 10 sorted: 2, 3, 3, 5, 7, 7, 10, 11, 13, 15, 21.
Median = 27+10=8.5.
Mean deviation = 101(6.5+5.5+5.5+3.5+1.5 +1.5+2.5+4.5+6.5+12.5) =1050=5