The correct option is A 3.12 g
We know that,
Moles=MassMolar mass
Moles of Mg=12.024=0.5
Moles of S=12.032=0.37
From the equation,
Mg+S→MgS
It follows that one mole of Mg reacts with one mole of S. We are given more mole of Mg than S, therefore S is the limiting reagent and Mg is present in excess.
From equation, one mole of S gives one mole of MgS, so, 0.37 mole of S will react with 0.37 mole of Mg to form 0.37 mole of MgS.
∴
Mole of Mg left unreacted =0.5−0.37=0.13 mol
Mass of Mg left unreacted =0.13×24 g=3.12 g