If the median of the following data is 40 then the value of p is &ndas...
Given that the median of the data is 40, we can determine the value of p as follows:
Step 1: Identify the Cumulative Frequency
Step 2: Determine the Median Class
The median is given as 40, which lies in the class interval 30-60. Thus, the median class is 30-60.
Step 3: Apply the Median Formula
The formula for the median of grouped data is:
Median = L + ( (N/2 - F) / f ) * h
- L = Lower limit of the median class = 30
- N = Total frequency = 5 + 15 + 30 + p + 2 = 52 + p
- F = Cumulative frequency of the class before the median class = 20
- f = Frequency of the median class = 30
- h = Class width = 30 (for class 30-60)
Step 4: Substitute Values into the Formula
Given that the median is 40:
40 = 30 + ( (52 + p) / 2 - 20) / 30 ) * 30
Step 5: Simplify the Equation
- Calculate (52 + p) / 2:
(52 + p) / 2 = 26 + p / 2
- Substitute into the equation:
40 = 30 + ( (26 + p / 2 - 20) / 30 ) * 30
- Simplify inside the parentheses:
40 = 30 + (6 + p / 2)
- Subtract 30 from both sides:
10 = 6 + p / 2
- Subtract 6 from both sides:
4 = p / 2
- Multiply both sides by 2:
p = 8
Conclusion
The value of p is: 8