Answer:
x = 21
Step-by-step explanation:
The following data were obtained from the question:
Set of data => 7, 15, x–1, x+1, 24, 28
Median = 21
x =?
Median is simply defined as the middle term of a given data arranged either in ascending or descending order.
Next, we shall determine the median of the set of data. This can be obtained as follow:
7, 15, x–1, x+1, 24, 28
Median = [(x–1) + (x+1)]/ 2
Finally, we shall determine the value of x as follow:
Median = [(x-1) + (x+1)]/ 2
Median = 21
21 = [(x-1) + (x+1)]/ 2
21 = [x – 1 + x + 1] /2
21 = [x + x – 1 + 1] /2
21 = 2x / 2
21 = x
Thus, x is 21
****Check****
Median = 21
x = 21
Median = [(x–1) + (x+1)] / 2
21 = [(21 – 1) + (21 + 1)] / 2
21 = [20 + 22] / 2
21 = 42/2
21 = 21