how do I calculate the amount of heat lost by the metal, qmetal?

1 answer

I guess it depends upon the kind of information you have.
q = mass x specific heat x (Tfinal-Tinitial)