how do you do specific heat?

Q=mC(Tf-Ti)

heat transfer is equal to the mass of an object time the specific heat of the object times the difference between the final and initial temperatures.