Calculating Partial Pressure At Equilibrium