My objective is to find the molar mass of a gas.

Is this the correct balanced equation for magnesium ribbon reacting with hydrochloric acid to form hydrogen gas?

2Mg (s) + 2HCL (l) ----> H2 (g) + 2MgCl (aq)

Also, I'm required to find the mass of the magnesium ribbon in grams and the moles of the hydrogen gas collected.

Is it correct to multiply the mass per meter (1.702 g/m) by the m of ribbon in order to get the mass?

then once i have the grams do i change it to moles of Mg? how do i get moles of h2? use the mole ratio of the equation?

No. Correct the formula for MgCl2 and then rebalance.

Yes, mass is m/l * length

Yes, then change that mass to moles. You get moles of H2 from the balanced equation coefficents and the moles of Mg.

I will be happy to critique your thinking.

Thanks, sir.

This is what I did, could you tell me if its correct?

given value 1.072 g/meter

1.072 g/m X .02 m [the magnesium ribbon was 2.0 cm] = 0.02144 gMg

Then to find the moles of H2:

0.02144 g mg ( 1 mol Mg/24.31 g Mg) (2 mol H2/1 mol Mg) = 1.76 X 10^ -3

Yes, the balanced equation you provided is correct for the reaction between magnesium ribbon and hydrochloric acid to form hydrogen gas.

To find the mass of the magnesium ribbon in grams, you can multiply the mass per meter (1.702 g/m) by the length of the ribbon in meters. So, if you have the length of the ribbon in meters, you can multiply it by 1.702 g/m to get the mass in grams.

Once you have the mass of the magnesium ribbon in grams, you can convert it to moles of magnesium. To do this, you need to divide the mass of magnesium by its molar mass. The molar mass of magnesium is 24.31 g/mol.

To find the moles of hydrogen gas collected, you can use the mole ratio between hydrogen gas and magnesium in the balanced equation. According to the balanced equation, for every 2 moles of magnesium reacted, 1 mole of hydrogen gas is produced. So, you can use the mole ratio to convert the moles of magnesium to moles of hydrogen gas.

Note: Make sure to convert the length of the ribbon to meters and the length of ribbon in meters to grams before performing any calculations. Also, ensure that your units are consistent throughout the calculations.