ANSWER:
The change in temperature, the mass of the system, and phase of the substance.
Explanation:
We know that heat energy can be calculated using the following formula:

Where m is the mass, C is the specific heat and the temperature difference.
Therefore, the three variables would be the change in temperature, the mass of the system, and the substance and phase of the substance.