Quantity of Heat = heat capacity x change in temperature
Q = Cp_{p}p x Δ\DeltaΔθ\thetaθ
Q = 400 x 20 = 8000J = 8kJ