Step-by-step explanation:
Moles is defined as mass divided by molar mass.
Mathematically, Number of moles = \frac{mass}{molar mass}[/tex]
Therefore, it is given that mass is 340 g and molar mass of
is 95.211 g/mol.
Hence, calculate number of moles as follows.
Number of moles =

=

= 3.57 mol
Thus, we can conclude that there are 3.57 moles of MgCl2 are there in 340 g of the compound.