Specific heat c is the energy per unit mass per kelvin, so the total heat to warm a sample is Q = m * c * Delta T. It turns a material constant into a prediction once mass and temperature change are known. The arithmetic is exact for the stated values, but real calorimetry leaks heat and c itself varies with temperature and purity, so each input carries uncertainty.
Specific heat separates the material property from the mass and the temperature change. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Use mass and specific heat
The sample has mass 2 kilograms. Its specific heat is 5 joules per kilogram per kelvin.
m=2kgc=5J/(kg K)
Specific heat scales by mass
Specific heat is per kilogram, so multiply by the mass and by the temperature change.
Q=mcΔT
Compute the heat
Multiply 2 kilograms by 5 joules per kilogram per kelvin by 3 kelvin. The result is 30 joules.
Q=2kg⋅5J/(kg K)⋅3K=30J
Mass is one direct factor
Hold the material and temperature change fixed. The diagram shows the middle row; more kilograms require more heat.