Two ideal gases are separated by a thin, highly conducting partition so that energy can pass between them but the gases do not mix. For each set of temperatures below, indicate whether a net transfer of thermal energy will occur across the partition and, if so, state the direction (from gas A to gas B, or from gas B to gas A).
(a) TA=310K,TB=298K
(b) TA=310K,TB=310K