The left and right compartments of a thermally isolated container of length are separated by a thermally conducting, movable piston of area . The left and right compartments are filled with and 1 moles of an ideal gas, respectively. In the left compartment the piston is attached to a spring with spring constant and natural length . In thermodynamic equilibrium, the piston is at a distance from the left and right edges of the container as shown in the figure. Under the above conditions, if the pressure in the right compartment is , then the value of is ______.

Let the number of moles, the pressure and the volume in the left compartment be and in the right compartment be .
Given
length of each compartment at equilibrium:
cross-sectional area of the piston:
Therefore
where
The piston is thermally conducting, hence the two gases finally attain the same temperature . For an ideal gas, ; therefore
Dividing the first relation by the second,
-(1)
Next, write the force-balance for the movable piston. Choose the rightward direction as positive.
• Force on piston by left gas (to the right):
• Force on piston by right gas (to the left):
• Force by the spring (to the left):
At mechanical equilibrium, net force is zero:
-(2)
The spring is fixed to the left wall; its natural length is and its actual length equals the left-hand length . Hence the extension is
Thus the spring force is
-(3)
Insert and into :
Therefore the pressure in the right compartment is
Comparing with the required form gives
Hence, the desired value is 0.2.
Tagged Zeroth and first law of thermodynamics. Machine-assigned, so read it as a strong shortlist rather than a verdict.