Concept: Based on the mole concept.
1 mole of carbon = 1 g molecular mass of carbon = 12 g
1 mole = 12g carbon
1/12 mole = 1g carbon
We know,
1g of carbon contains X atoms and 1g = 1/12 mole.
Hence, 1/12 mole of carbon has x atoms.
An equal number of moles of all the elements contain equal atoms, so 1/12 mole of magnesium also contains x atoms.
1 mole of magnesium = 24g
1 mole = 24 g
1/24 mole = 1g
From carbon atom, we know
1/12 mole of magnesium = X atoms
1/24 mole of magnesium = (X) x (12/24) = = x/2 atoms
Answer :
1 gram of magnesium has x/2 atoms.
Regards