To solve this question, we have to use the formula of heat transfer which is given as
[tex]\begin{gathered} Q=mc\Delta\theta \\ m\text{ = mass} \\ c\text{ = specific heat capacity} \\ \Delta\theta\text{ = change in temperature} \end{gathered}[/tex]Let us define our variables and proceed to substitute the values in the equation.
[tex]\begin{gathered} m\text{ = 2.5} \\ c\text{ = 0.37J/}g\text{ K} \\ \Delta\theta\text{ = (29.8 - 22.0) = 7.8} \end{gathered}[/tex]Substituting the values, we would have
[tex]\begin{gathered} Q=mc\Delta\theta \\ Q=2.5\cdot0.37\cdot7.8=7.215J \end{gathered}[/tex]From the calculations above, the heat transfer in the block was 7.215J