In a soda acid fire extinguisher, concentrated sulfuric acid reacts with sodium hydrogen carbonate to produce carbon dioxide, sodium sulfate and water. How many moles of sodium hydrogen carbonate are produced from a reaction of 0.4 moles of sulfuric acid?

Write the balanced equation first.
2NaHCO3 + H2 SO4 >>> Na2 SO4 + 2H2 O +2CO2

Please read your post and note how ridiculous it reads. The answer is that it produces zero mols NaHCO3. You start with NaHCO3.

Let's suppose you asked instead to calculate the mols NaHCO3 NEEDED to react with 0.4 mols H2SO4.
That's the old trick of using the coefficients in the balanced equation to convert what you have into what you want.
0.4 mol H2SO4 x (2 mols NaHCO3/1 mol H2SO4) = 0.4 x 2/1 = 0.8 mols NaHCO3 needed. If it is some other conversion you need it is done the same way.

The balanced equation for the reaction is:

2NaHCO3 + H2SO4 → Na2SO4 + 2H2O + 2CO2

From the equation, we can see that for every 2 moles of sodium hydrogen carbonate (NaHCO3), 1 mole of sulfuric acid (H2SO4) is required.

Therefore, in this reaction, if 0.4 moles of sulfuric acid (H2SO4) are reacted, we can calculate the moles of sodium hydrogen carbonate (NaHCO3) produced using stoichiometry.

0.4 moles H2SO4 × (2 moles NaHCO3 / 1 mole H2SO4) = 0.8 moles NaHCO3

So, from the reaction of 0.4 moles of sulfuric acid, 0.8 moles of sodium hydrogen carbonate will be produced.

To determine the number of moles of sodium hydrogen carbonate (NaHCO3) produced from a reaction of 0.4 moles of sulfuric acid (H2SO4), we first need to write the balanced equation for the reaction:

2NaHCO3 + H2SO4 → Na2SO4 + 2H2O + 2CO2

According to the balanced equation, it shows that for every 2 moles of sodium hydrogen carbonate, it reacts with 1 mole of sulfuric acid to produce 2 moles of carbon dioxide.

Therefore, using the stoichiometry of the balanced equation, we can set up a ratio:

2 moles of NaHCO3 / 1 mole of H2SO4

Now we can calculate the moles of NaHCO3 using the given 0.4 moles of H2SO4:

0.4 moles H2SO4 x (2 moles NaHCO3 / 1 mole H2SO4) = 0.8 moles NaHCO3

So, from the given 0.4 moles of sulfuric acid, 0.8 moles of sodium hydrogen carbonate would be produced in the reaction.