For gaseous n-pentane and isopentane, both at 298K, ΔGf°=−194.4kJ/mol and−200.8kJ/mol, respectively. The vapor pressures of the liquids are given by:

n-pentane:log10P(atm)=3.9714−1065/T−41

isopentane:log10P(atm)=3.9089−1020/T−40

Calculate (a) KP for the isomerization in the gas phase at 298 K, and (b) Kx for the isomerization in the liquid phase, assuming ideal solutions.