volume V) to the state B (pressure P/2