One cubic meter of an ideal gas is at a pressure of 105 N/m2 and temperature 300 K. The gas is allowed to expand at constant pressure to twice its volume by supplying heat. If the change in internal energy in this process is 104J, then the heat supplied is