How much mgs can be obtained from 20g of mg and 20 g of s by the reaction mg+s_>mgs

A word to the wise. mgs I read as milligrams. The cap key is there for a reason. Use it.

This is a limiting reagent (LR) problem. You know that because amounts are given for BOTH reactants.
Mg + S ==> MgS
Convert 20 g Mg to mols. mol g= grams/molar mass.
Do the same for 20 g S to mols.

Using the coefficients in the balanced equation, convert mols Mg to mols MgS.
Do the same to convert mols S to mols MgS.
It is likely that the two values for MgS will not be the same which means one of them is not right. The correct value in LR problems is ALWAYS the smaller value and the reagent producing that value is the LR.
Using the smaller value, convert mols MgS to g. g = mols x molar mass.

To determine how many milligrams (mg) of MgS can be obtained from 20g of Mg and 20g of S by the reaction Mg + S -> MgS, we need to calculate the limiting reagent and then use stoichiometry to find the amount of MgS formed.

1. Calculate the number of moles of each reactant:
- Moles of Mg = mass (g) / molar mass (g/mol) = 20g / 24.31 g/mol (molar mass of Mg)
- Moles of S = mass (g) / molar mass (g/mol) = 20g / 32.07 g/mol (molar mass of S)

2. Use the balanced equation to determine the stoichiometric ratio:
The balanced equation is: Mg + S -> MgS
From the equation, we can see that the stoichiometric ratio between Mg and MgS is 1:1.

3. Determine the limiting reagent:
The limiting reagent is the one that is completely consumed in the reaction and limits the amount of product formed. The reactant that produces fewer moles of product is the limiting reagent.
In this case, since the stoichiometric ratio between Mg and MgS is 1:1, we compare the moles of Mg and moles of S to determine the limiting reagent.

4. Calculate the moles of MgS formed based on the limiting reagent:
Since the stoichiometric ratio is 1:1 between Mg and MgS, the number of moles of MgS formed will be equal to the number of moles of the limiting reagent (either Mg or S).

5. Convert moles of MgS to milligrams (mg):
Multiply the moles of MgS by the molar mass of MgS to obtain the mass in grams, and then convert grams to milligrams by multiplying by 1000.

By following these steps, you will be able to determine the amount of MgS that can be obtained from 20g of Mg and 20g of S by the given reaction.