set a : 3 , r , 8 , 10 set b : 4 , g , 9 , 11 the terms of each set above are given in ascending order . if the median of set a is equal to the median of set b , what is the value of g – r ?
so we have even no . of elements in the set so median is the average of middle two numbers ( r + 8 ) / 2 = ( g + 9 ) / 2 g - r = - 1 answer b
subtract(divide(add(add(3, 8), 10), const_3), divide(add(add(4, 9), 11), 3))