1. The problem statement, all variables and given/known data

What would be the final temp if you mixed 1 liter of 20°C water with 4 liters of 40°C water?

This question is very straightforward, and is, of course, assuming total conservation of temp.

2. Relevant equations

My book mentions q=mc∆t, but using that equation, I get calories as the units. And this equation I barely know how to use.

3. The attempt at a solution

My guess is the answer is 38.75 °C, but I figured that by reasoning only, as I have no clue what equation to use. I wondered if it might be a proportions prob, but haven't gotten a logical answer that way. I know the answer has to be over 20°C but under 40°C.

I am very very confused, so a clear answer with an good explanation would be the best! Thanks very much!

Using the equation above we know that energy q=mc∆t,
Imagine the final temperature is T, we have a change in temperature of (T-20) for the cold water and (40-T) for the hot water - note the way around for these since one is going up and one is going down - we end up with 5litres at T.

We don't need to know 'c' and we don't need to worry about the mass of 1litre because that is all going to cancel, and we don't care about the actual value of q.

Thank you very much for replying! Please forgive me, as I understand only a speck of physics.

This makes sence:

What do you mean by this?

Is it a matter of using the distributive property in algebra?

q = 1 c (T-20) + 4 c (40-T) = 5 c T
q = 1cT -20c + 80c -4cT = 5cT
q = 60c - 3ct = 5ct
q = 60c = 8ct
q = 7.5 = t

In one of my attempts to figure out the answer, I came up with 8, but assuming 8 is correct, what do I do with it? It's 8 what? 8 bananas? 8 oranges? Is something multiplied by a factor of 8? Or 1/8?

Is this even remotely in the right direction? (Knowing my luck, probably not. )

I am very sorry for my ignorance! Thank you for your help!