The following data shows the number of family members living in different bungalows of a locality:
Number of Members | 0−2 | 2−4 | 4−6 | 6−8 | 8−10 | Total |
---|---|---|---|---|---|---|
Number of Bungalows | 10 | p | 60 | q | 5 | 120 |
If the median number of members is found to be 5, find the values of p and q.
The population of lions was noted in different regions across the world in the following table:
Number of lions | Number of regions |
---|---|
0–100 | 2 |
100–200 | 5 |
200–300 | 9 |
300–400 | 12 |
400–500 | x |
500–600 | 20 |
600–700 | 15 |
700–800 | 10 |
800–900 | y |
900–1000 | 2 |
Total | 100 |
If the median of the given data is 525, find the values of x and y.