We know that in such interactions heat is gained by one and heat is lost is by the other.
Also that the heat gained/lost is given by
#m,s and t#are the mass, specific heat and rise or gain in temperature of the object;
#Delta Q_"lost"=Delta Q_"gained"#
Heat gained by water
Equating (1) and (2) we get
Multiplying both sides by