Answer:
0.49 mol
Explanation:
Step 1: Write the balanced equation
Mg + 2 HCI ⇒ MgCl₂ + H₂
Step 2: Calculate the moles corresponding to 12 g of Mg
The molar mass of Mg is 24.31 g/mol.

Step 3: Calculate the moles of H₂ produced by 0.49 moles of Mg
The molar ratio of Mg to H₂ is 1:1. The moles of H₂ produced are 1/1 × 0.49 mol = 0.49 mol.
Heat
gained in a system can be calculated by multiplying the given mass to the
specific heat capacity of the substance and the temperature difference. It is
expressed as follows:<span>
Heat = mC(T2-T1)
When two objects are in contact, it should be that the heat lost is equal to what is gained by the other. From this, we can calculate things. We do as follows:
</span>Heat gained = Heat lost
mC(T2-T1) = - mC(T2-T1)
31.5C (102.4 - 32.5) = 103.5(4.18)(32.5 - 24.5)
C = 1.57 J/C-g
Hope this helps.