The formula for heat capacity is:
[tex]Q =mC\Delta T[/tex] -(1)
where Q is heat, m is mass, C is specific heat capacity and [tex]\Delta T[/tex] is change in temperature.
Mass of the metal = 28 g (given)
Heat abosrbs = 58 J (given)
Initial temperature = [tex]31.1^{o}C[/tex] (given)
Final temperature = [tex]39.9^{o}C[/tex] (given)
Substituting the values in formula (1):
[tex]58 J = 28 g\times C\times (39.9-31.1)^{o}C[/tex]
[tex]C = \frac{58 J}{246.4}/g^{o}C[/tex]
[tex]C = 0.235 J/g^{o}C[/tex]
Hence, the heat capacity of the metal is [tex]0.235 J/g^{o}C[/tex].