where nA and nB are the number of moles of air in bubbles A and B respectively. [Neglect the effect of gravity.]