The final pressure inside the container will be 5atm.
According to the universal gas equation, the pressure of the gas is directly proportional to the number of moles of gas.
Or, P is proportional to n.
The equation of the reaction given here is 2N₂ + 3H₂ =2 NH₃.
So, 2 moles of nitrogen gas reacts with 3 moles of hydrogen gas.
Therefore, 5 moles of nitrogen gas reacts with 7.5 moles of hydrogen gas.
Amount of ammonia gas produced = 5 moles, because it's same as the moles of nitrogen gas utilized.
So hydrogen gas left in the container = [tex]10 - 7.5[/tex] moles = 2.5 moles
So, total moles of gas initially in the container = [tex]10 +5[/tex] moles = 15 moles.
Total moles of gas finally in the container =[tex]5 +2.5[/tex] moles = 7.5 moles.
Now,[tex]\frac {P₁} {n₁}[/tex]=[tex]\frac{ P₂} {n₂.}[/tex]
Or, [tex]\frac{10} {15}[/tex]= [tex]\frac{P2} {7.5}[/tex].
Or, the final pressure = 5 atm.
So, the final pressure inside the container will be 5atm.