We will use dimensional analysis to solve this.
We will need the molar mass of barium, which is 137.33 g/mol.
50g × = .36 mol Ba
There are .36 moles of barium in 50g of barium
4.7m questions
6.0m answers