In the figure, the angles of depression of point \( O \) as seen from points \( A \) and \( P \) are: 
The shadow of a tower on level ground is $30\ \text{m}$ longer when the sun's altitude is $30^\circ$ than when it is $60^\circ$. Find the height of the tower. (Use $\sqrt{3}=1.732$.)
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}\]