5 observations 1, 2, x , 5 , 6 are written in ascending order. The median of data is 3. Find the value of x.
4
3.5
3
8
Ten observations 6, 14, 15, 17, x+1, 2x-13, 30, 32, 34, 43 are written in an ascending order. The median of data is 24. Find the value of x.