The analysis of nitrogen triodide

What is the formula of nitrogen triodide?

$ NI_3$

What color has the gas formed during the explosion?

It is purple.

Give the name and formula of the gas !

Iodine $ I_2$

Write the equation for the reaction!

$ 2NI_3$ $\longrightarrow$ $ N_2$ $ + $ $ 3I_2$.

What kind of reaction is it and why ?!

The compound $NI_3 $ is decomposed into two elementary substances $ N_2$ nitrogen and $ I_2$ iodine. It is an analysis reaction .