Calculating Partial Pressure and Volume