A cylinder contains 40 g of HE, 56 g of N2, and 40 g of Ar.

How many moles of each gas are in the mixture?

mols = grams/molar mass

To find the number of moles of each gas in the mixture, we need to use the formula n = m/M, where n is the number of moles, m is the mass of the substance, and M is the molar mass of the substance.

First, let's find the number of moles for each gas:
1. Hydrogen (H2): Hydrogen has a molar mass of 2 g/mol.
n(H2) = m(H2) / M(H2) = 40 g / 2 g/mol = 20 mol

2. Nitrogen (N2): Nitrogen has a molar mass of 28 g/mol.
n(N2) = m(N2) / M(N2) = 56 g / 28 g/mol = 2 mol

3. Argon (Ar): Argon has a molar mass of 40 g/mol.
n(Ar) = m(Ar) / M(Ar) = 40 g / 40 g/mol = 1 mol

Therefore, there are 20 moles of hydrogen, 2 moles of nitrogen, and 1 mole of argon in the mixture.