To solve this problem we will use the ideal gas law. The formula is:
P * V = n * R * T
Where P is the pressure of the gas, V is the volume, n is the number of moles of that gas, R is the ideal gas constant and T is the temperature.
We know some of those values.
V = 8.5 L
T = 298 K
R = 0.082 atm*L/(mol*K)
Then, P is our unknown and we can find the number of moles from the mass of nitogren using its molar mass.
P = ?
mass of N₂ = 23.5 g
atomic mass of N = 14.01 amu
molar mass of N₂ = 2 * 14.01
molar mass of N₂ = 28.02 g/mol
n = number of moles of N₂ = 23.5 g/(28.02 g/mol)
n = 0.839 moles
Now we can replace the values in the formula and solve it for P.
P * V = n * R * T
P = n * R * T / V
P = 0.839 moles * 0.082 atm*L/(mol*K) * 298 K/(8.5 L)
P = 2.41 atm
Answer: the pressure is 2.41 atm.