We can use the ideal gas law to solve this problem:
PV = nRT
where P is pressure, V is volume, n is the number of moles, R is the gas constant, and T is temperature in Kelvin.
First, we need to convert the temperature from Celsius to Kelvin:
T(K) = T(°C) + 273.15 = 20°C + 273.15 = 293.15 K
Now we can substitute the given values into the ideal gas law equation:
(4.0 atm)(8.0 L) = n(0.08206 L·atm/mol·K)(293.15 K)
Simplifying, we get:
32.0 = 0.08206n
n = 389.9 mol
Therefore, there are approximately 390 moles of nitrogen gas in the tank.