Assume that 64.0 cal of heat is applied to a 14 g sample of sulfur at 16°C. What is the final temperature of the sample if the specific heat of sulfur is 0.175 cal/(g·°C)?

q = mass x specific heat x (Tfinal-Tinitial).

64 = 14g x 0.175 cal/g*C x (Tf-16)
Solve for Tf