Answer:
x = 57
Explanation:
Median is the number that is halfway mark. If we are given a data, first we need to arrange them in ascending order and take the middle value. That is called median.
If we have odd number of data, we can easily find the middle value.
For instance, 1, 2, 3, 4, 5 here the number of data = 5 which is odd number.
The middle number is 3.
Therefore, median is 3.
If we have even number of data, we have to take middle two values, add them then divide by 2.
In this case, we are given even number of data
30, 45, x, 100
4 data which is even number of data.
Median is given as 51, we need to find the value of x.
The middle two numbers are 45 and x, we have to add them and divide by 2
Median =
[Given: median = 51]
51 =

Multiplying both sides by 2, we get
51*2 = 45 + x
102 = 45 + x
Subtract 45 in both sides, we get
102 - 45 = 45 -45 + x
x = 102 -45
x = 57