The kinetic energy of the firework when it is launched is,
At the minimum height the potential energy of the firework is,
At the height the kinetic energy is converted into potential energy therefore, according to conservation of energy,
Plug in the known values,
Substituting values,
Therefore, the launch speed of the firework is 153.7 mph.
As the launch speed is approximately equal to 160 mph therefore, the firework can be launched safely with speed 160 mph.