An ideal gas is taken from state A (pressure P