Find the values of x and y if the median for the following data is 31.
classes- |0-10| 10-20 | 20-30 |
frequency-| 5 | x | 6 |
classes |30-40 | 40-50|50-60
frequency| y | 6 | 5
Answers
★ Firstly let us see that how to solve this question, some steps are given below that tell us how to find median of grouped data, let us do this question!
Step 1. Firstly we have to make a table with 3 columns.
- First column is made for the class interval
- Second column is made for the frequency
- Third column is made for the cumulative frequency.
Step 2. Now we have to write the class intervals and frequency in the respective columns.
Step 3. Now let us write the cumulative frequency in the column.
Step 4. Now we have to find the sum of frequencies (∑f)
Step 5. Now we have to find n/2, find the class whose cumulative frequency is greater than and nearest to n/2 that's median.
Step 6. Now we use the formula that is given below:
~ Now let us make class interval table, it is given below(By BrainlyButterfliee):
~ Now let us make a frequency table, by following the above mentioned steps(By BrainlyButterfliee):
~ Now according to the question,
~ Now we have to use the below mentioned formula:
- n/2 is 40/2 = 20 here
- l is 30 here
- Median is 31 here
- cf is (11+x) here
- f is y here
- h is 10 here
~ Now let's subtract Eq. 1 from Eq. 2
- x = 8
- y = 10