When heat Q is supplied to a diatomic gas of rigid molecules