From the calculation, the compound is MgSO4.2H2O.
A hydrated salt is a salt that contains molecules of the water of crystallization.
a) Percentage of the water of crystallization = 3.211 g - 2.539g/ 3.211 g * 100/1 = 21%
b) Number of moles of water of crystallization = 3.211 g - 2.539g/ 18 g/mol =
0.037 moles
c) Number of moles of anhydrous salt = 2.539g/120 g/mol = 0.021 moles
Number of moles of hydrated salt = 3.211 g/120 + 18x
Hence;
0.021 = 3.211 /120 + 18x
0.021(120 + 18x) = 3.211
2.52 + 0.378x = 3.211
0.378x = 3.211 - 2.52
x = 3.211 - 2.52/ 0.378
x = 2
Hence the compound is MgSO4.2H2O
Learn more about hydrated salt:https://brainly.com/question/5586505
#SPJ1