The amount of heat energy that is needed to raise the temperature of a system can be calculated by the product of the mass, heat capacity of a substance and the temperature difference. We calculate as follows:
Q = mC(T2-T1)
Q = 500 (0.899) (20 - 15)
Q = 2247.5 J