Sorry that the explanation is not easy to understand. This sign issue is confusing at first if no thought is given to it.
Yes.
Let go back to the problem:
An ice cube of mass 0.008kg at 0 degrees Celsius was placed in water at 15 degrees Celsius in an insulated plastic beaker.The mass of water in the beaker was 0.120kg. After the ice cube had melted, the water was stirred, and its temperature was found to have fallen to 9 degrees Celsius.The specific heat capacity of water is 4200J/Kg degrees Celsius.
Q:Calculate the energy transferred from the water.
Assuming that it is an ideal case or "simplified" case, there is no interaction with the surrounding.
In this problem, the ice cube is gaining thermal energy while the water is losing thermal energy.
Using your proposed method:
Using the formula of E = mcΔT, we can find out the energy lost (transferred from the water); E = energy, m = mass, c = specific heat capacity, the last part = change in temperature.
Assume that I have not misinterpreted your method, the energy transferred from water is
mass of water * specific heat capacity * (final temperature - initial temperature)
= 0.12*4200*(9 - 15)
= -3024 J
Energy transferred from water means that the direction of flow of energy is from water to something (in this case is ice cube).
But the answer is negative which means the direction of flow is opposite.
Next, if we use another method (you also proposed this method), but we are not given the specific latent heat of fusion of ice, looking up online, it is 334kJ/kg.
Energy gained by ice and melted ice is
= mass of ice*specific latent heat of fusion of ice
+ mass of ice*specific heat capacity * (final temperature - initial temperature)
= 0.008*334000 + 0.008*4200*(9 - 0)
=2974 J
Energy gained by the ice cube and melted ice means the direction of flow of energy is from somewhere (in this case is water) to the ice cube and melted ice.
In this case, the answer is positive which means the direction of flow is from water to ice cube and melted ice.
You might think there is some calculation error because
energy transferred from water is NOT EQUAL to energy gained by ice and melted ice.
The issue is the final temperature stated in the problem. You can investigate the issue using the method described in this link.
http://www.solvephysics.com/thermodynamics_problem5.shtmlChange in temperature usually means final temperature - initial temperature.
But it does not always give a positive value. It would give a negative value if the temperature decreases.
Hope it is better.