Answer: The pressure of the gas comes out to be

Step-by-step explanation:
To calculate the pressure of the gas, we use the equation given by ideal gas equation, which is:

where,
P = Pressure of the gas = ? atm
V = Volume of the gas = 500 mL = 0.5 L (Conversion factor: 1 L = 1000 mL)
n = Number of moles of gas = 2.91 moles
R = Gas constant =

T = Temperature of the gas =
![31^oC=[273+31]K=304K](https://img.qammunity.org/2018/formulas/chemistry/high-school/iz3piadcplj0u7cenxc6eaxj4xcwbnen2u.png)
Putting values in above equation, we get:

Hence, the pressure of the gas comes out to be
