##1.204xx10^(24) atoms## of magnesium are present
In order to go from mass of magnesium to atoms of magnesium we have to do two things:
Convert mass of Mg to moles of Mg using the molar mass of Mg as a conversion factor
Convert moles of Mg to atoms of Mg using Avogadro’s number (##6.02xx10^(23)##) as a conversion factor
##color(indigo)(Step 1:##
Before we start I should note that the molar mass of Mg is ##24.31 g/(mol)##. We can go from mass to moles using dimensional analysis. The key to dimensional analysis is understanding that the units that you don’t need any more cancel out leaving the units that are desired:
##48.60cancelgxx(1mol)/(24.31cancelg)## ##= 2.00 mol##
##color(gold)(Step 2:##
We’ll use this relationship:
Using the moles of Mg that we just obtained we can use Avogrado’s number to perform dimensional analysis in order to cancel out units of ##mol## to end up with atoms of Mg:
##2.00cancelmolxx(6.02xx10^(23) atoms)/(1cancelmol)## ##= 1.204xx10^(24) atoms##
##color(brown)(Thus 48.60g of Mg is equivalent to## ##1.204xx10^(24) atoms##