A projectile is thrown upward at an angle \( 60^\circ \) with the horizontal. The speed of the projectile is \( 20 \, \mathrm{m/s} \) when its direction of motion is \( 45^\circ \) with the horizontal. The initial speed of the projectile is ______ \( \mathrm{m/s} \).