If the internal energy of an ideal gas remains constant and the gas expands,
  1. heat must flow from the gas to the surrounding medium.
  2. heat must flow from the surrounding medium to the gas.
  3. no heat must flow.