If the median of the following data is 50, then find the value of p.
ClassFrequency0 - 201020 - 40740 - 601660 - 80p80 - 1008
The cumulatice frequency distribution table is given below:
Class FrequencyCumulativeFrequency0 - 20101020 - 4071740 - 60163360 - 80p33+p80 -100841+p
Since median is 50, median class is 40-60.
Using;
Median=l+[n2−cff]×h,
Here,n=41+p,
⟹ n2=(41+p)2
Now, 50=40+[(41+p)2−1716×20]
⟹10=[(41+p−34)216×20]
⟹10=[(7+p)16×2×20]
Simplifying, we get (7+p)16=1
⇒7+p=16
⇒p=9
∴ the value of p is 9.