Light from a point source in air falls on a spherical glass surface (refractive index, \( \mu = 1.5 \) and radius of curvature \( R = 50 \) cm). The image is formed at a distance of 200 cm from the glass surface inside the glass. The magnitude of distance of the light source from the glass surface is 1cm.

Find the unknown frequency if 24 is the median of the following frequency distribution:
\[\begin{array}{|c|c|c|c|c|c|} \hline \text{Class-interval} & 0-10 & 10-20 & 20-30 & 30-40 & 40-50 \\ \hline \text{Frequency} & 5 & 25 & 25 & \text{$p$} & 7 \\ \hline \end{array}\]