Solution:-
Let nT be the total no. of moles.
∴nT=n1+n2+.........∞.....(1)
From ideal gas equation,
PV=nRT
⇒n=PVRT
From eqn(1), we have
PTVTRT=P1V1RT+P2V2RT+........∞
PTVTRT=1RT(P1V1+P2V2+..........∞)
⇒PTVT=P1V1+P2V2+..............∞
Now according to the question-
PTVT=2P.V+P.V2+P2.V4+...........∞
⇒PTVT=PV(2+12+18+.........∞)
As the above series is in G.P..
∴PTVT=PV⎛⎝21−14⎞⎠
⇒PTVT=83PV.....(2)
Now
VT=V1+V2+............∞
VT=V+V2+..........∞
⇒VT=V(1+12+14+..............∞)
⇒VT=V⎛⎝11−12⎞⎠=2V
Substituting the value of VT in eqn(2), we have
PT.2V=83PV
⇒PT=43P
Given that P=30atm
∴PT=43×30=40atm
Hrence the common pressure in atm when all the stopcocks are opened is 40.