A 10-L rigid tank contains R-22 at −10°C, 80% quality. A 10-A electric current (from a 6-V battery) is passed through a resistor inside the tank for 10 min, after which the R-22 temperature is 40°C. What was the heat transfer to or from the tank during this process?