Answer:
The spring is compressed by 0.275 meters.
Explanation:
For equilibrium of the gas and the piston the pressure exerted by the gas on the piston should be equal to the sum of weight of the piston and the force the spring exerts on the piston
Mathematically we can write

we know that


Now the force exerted by an spring compressed by a distance 'x' is given by 
Using the above quatities in the above relation we get

Answer:
Switches control the flow of electricity in a circuit.