How many grams of magnesium(Mg, 24.30 g/mol) are in 7.43×10^22 atoms Mg?

Answer : The mass of magnesium is, 2.99 grams.
Explanation :
As we know that 1 mole of magnesium contains [tex]6.022\times 10^{23}[/tex] atoms
And, 1 mole of magnesium has 24.30 g
So, we can say that:
As, [tex]6.022\times 10^{23}[/tex] atoms of magnesium present in 24.30 gram of magnesium
So, [tex]7.43\times 10^{22}[/tex] atoms of magnesium present in [tex]\frac{7.43\times 10^{22}}{6.022\times 10^{23}}\times 24.30=2.99[/tex] gram of magnesium
Therefore, the mass of magnesium is, 2.99 grams.