Answer : The volume of the container after the nitrogen gas and hydrogen gas reacted to completion will be, 3.867 L
Explanation :
As we are given that the moles of
and
are equal. So, initial moles are:

The balanced chemical reaction is,

When 'n' moles of
react with
moles of
then it gives
moles of 
So, final moles are:

According to the Avogadro's Law, the volume of the gas is directly proportional to the number of moles of the gas at constant pressure and temperature.

or,

where,
= initial volume of gas = 5.80 L
= final volume of gas = ?
= initial moles of gas = 2n mole
= final moles of gas = 
Now put all the given values in the above formula, we get the final volume of the gas.


Therefore, the volume of the container after the nitrogen gas and hydrogen gas reacted to completion will be, 3.867 L