>>12005685I'm not the same person, and I was just assuming that energy is linear with temperature as well as volume.
Imagine that a liter of water of x degrees has z+kx joules of energy.
(So z is the amount of energy in a liter of water at zero degrees, and every additional degree adds k joules.)
Then if you have amount a at x degrees, and amount b at y degrees, the combined energy in joules will be a(z+kx) + b(z+ky).
Which is (a+b)z + akx+bky =
(a+b)z + k(ax+by)
The joules per liter of the mix will be [(a+b)z + k(ax+by)]/(a+b) =
z+k(ax+by)/(a+b), which can be converted back to degrees per liter by subtracting z and dividing by k:
(ax+by) / (a+b)