8

Math Analysis HL Paper 2 (May 2025, TZ2)

8. [Maximum mark: 7]

The marks obtained by students in a class quiz are shown in the following table where p,qZ+p, q \in \mathbb{Z}^+.

MarksFrequency
2012
35qq
pp8

The mean and variance of the marks are 31 and 124 respectively.
Find the value of pp and the value of qq.