
Distance between the piles is one half wavelength $(\frac{\lambda}{2})$ of longitudinal waves.
Now, given in $300 cm$, there are 20 piles of powder.
$\therefore \quad 20 \times \frac{\lambda}{2}=300 \Rightarrow \lambda=\frac{300}{10 \times 100} \,m$
So, frequency of sound is
$f=\frac{v}{\lambda}=\frac{300}{\left(\frac{300}{1000}\right)}=1 \,kHz$
