Calculation of Partial Pressure