Ответ:

\( g\frac{\pi}{4}=1\), \(\sin\frac{\pi}{4}=\frac{\sqrt{2}}{2}\).

\(18\sqrt{2}\cdot1\cdot\frac{\sqrt{2}}{2}=18\).

Ответ: 18.