A gas is used to fill a container up, there are 17.8 moles. What will be the new volume of the gas in the container at STP? (I don't understand which gas law to use)

1 mole occupies 22.4L at STP

so, you will have 17.8*22.4L

PV = nRT

Use PV = nRT

To determine the new volume of the gas in the container at STP (Standard Temperature and Pressure), you can use the Ideal Gas Law, which states:

PV = nRT

Where:
P = Pressure
V = Volume
n = Number of moles
R = Ideal gas constant
T = Temperature

At STP, the conditions are defined as a temperature of 273.15 Kelvin (0 degrees Celsius or 32 degrees Fahrenheit) and a pressure of 1 atmosphere.

Based on the information given, you have the number of moles (n = 17.8), and you need to find the new volume (V). Since you do not have information about pressure or temperature, it is safe to assume that the pressure remains constant. Therefore, you can simplify the equation by rearranging it as follows:

V = (n * R * T) / P

However, since the pressure is constant and the temperature is fixed at STP, you can further simplify the equation by removing the variables for pressure (P) and temperature (T) since they are constant:

V = (n * R) / P

Here, R is the ideal gas constant, which has a value of 0.0821 L·atm/(K·mol). P can be assumed to be 1 atm at STP.

Substituting the values into the equation, we have:

V = (17.8 * 0.0821) / 1

Simplifying the equation:

V ≈ 1.4618 L

Therefore, the new volume of the gas in the container at STP would be approximately 1.4618 liters.