Answer:
The formula of the gas produced is [tex]PH_3[/tex].
Explanation:
Whenever metal phosphides reacts with water they form phosphine gas and alkaline solution of metal hydroxide.
[tex]M_3P_x(s)+3xH_2O(l)\rightarrow 3M(OH)_x(aq)+xPH_3(g)[/tex]
So, when sodium phosphide is treated with water it gives phosphine gas and sodium hydroxide solution as a product.
[tex]Na_3P(s)+3H_2O(l)\rightarrow 3NaOH(aq)+PH_3(g)[/tex]
The formula of the gas produced is [tex]PH_3[/tex].